build: ensure we use always use a semver
This commit is contained in:
1 parent
c9d6d8ef25
commit
181ddf1bc8
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user