Skip to content

Commit

Permalink
finally fix blink1-tool version for zip downloaded makes, issue #2
Browse files Browse the repository at this point in the history
  • Loading branch information
todbot committed Dec 9, 2018
1 parent 0b74330 commit ddea933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ MACH_TYPE:="$(strip $(shell uname -m))"
GIT_TAG?="$(strip $(shell git tag 2>&1 | tail -1 | cut -f1 -d' '))"
# deal with case of no git or no git tags, check for presence of "v" (i.e. "v1.93")
ifneq ($(findstring v,$(GIT_TAG)), v)
GIT_TAG:="v0"
GIT_TAG:="v$(strip $(shell data -r . +'%Y%m%d' ))"
endif

BLINK1_VERSION?="$(GIT_TAG)-$(OS)-$(MACH_TYPE)"
Expand Down

0 comments on commit ddea933

Please sign in to comment.