Skip to content

Commit a2f2201

Browse files
committed
Makefile: git versioning
1 parent a9b8cad commit a2f2201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
NAME := arduino-timer
2-
VERSION := $(shell grep version library.properties | cut -d= -f2)
2+
VERSION := $(shell git describe --tags --always --dirty)
33

44
$(NAME)-$(VERSION).zip:
55
git archive HEAD --prefix=$(@:.zip=)/ --format=zip -o $@

0 commit comments

Comments
 (0)