fix git tag bug

This commit is contained in:
wy65701436 2017-03-28 17:40:33 -07:00
parent b7340ebbce
commit 626123b66f

View File

@ -168,7 +168,7 @@ VERSIONFILEPATH=$(CURDIR)
VERSIONFILENAME=VERSION VERSIONFILENAME=VERSION
GITCMD=$(shell which git) GITCMD=$(shell which git)
GITTAG=$(GITCMD) describe --tags GITTAG=$(GITCMD) describe --tags
GITTAGVERSION=$(shell $(GITTAG)) GITTAGVERSION=$(shell git describe --tags || echo UNKNOWN)
ifeq ($(DEVFLAG), true) ifeq ($(DEVFLAG), true)
VERSIONTAG=dev VERSIONTAG=dev
else else