From 626123b66f34354c9374a1269cf32b280a52766e Mon Sep 17 00:00:00 2001 From: wy65701436 Date: Tue, 28 Mar 2017 17:40:33 -0700 Subject: [PATCH] fix git tag bug --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f69de8835..3593831c5 100644 --- a/Makefile +++ b/Makefile @@ -168,7 +168,7 @@ VERSIONFILEPATH=$(CURDIR) VERSIONFILENAME=VERSION GITCMD=$(shell which git) GITTAG=$(GITCMD) describe --tags -GITTAGVERSION=$(shell $(GITTAG)) +GITTAGVERSION=$(shell git describe --tags || echo UNKNOWN) ifeq ($(DEVFLAG), true) VERSIONTAG=dev else