diff --git a/build/makelib/common.mk b/build/makelib/common.mk index 5446e11b7..1e1e6ea55 100644 --- a/build/makelib/common.mk +++ b/build/makelib/common.mk @@ -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