We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9b8cad commit a2f2201Copy full SHA for a2f2201
Makefile
@@ -1,5 +1,5 @@
1
NAME := arduino-timer
2
-VERSION := $(shell grep version library.properties | cut -d= -f2)
+VERSION := $(shell git describe --tags --always --dirty)
3
4
$(NAME)-$(VERSION).zip:
5
git archive HEAD --prefix=$(@:.zip=)/ --format=zip -o $@
0 commit comments