build: ensure we use always use a semver

This commit is contained in:
Bassam Tabbara committed 2017-08-11 20:36:45 -07:00
1 parent c9d6d8ef25
commit 181ddf1bc8
1 file changed
+1 -1
+1 -1
View File
@@ -74,7 +74,7 @@ endif
# set the version number. you should not need to do this
# for the majority of scenarios.
ifeq ($(origin VERSION), undefined)
VERSION := $(shell git describe --dirty --always --tags)
VERSION := $(shell git describe --dirty --always --tags | sed 's/-g/.g/g;s/-dirty/.dirty/g')
endif
export VERSION