diff --git a/build/makelib/common.mk b/build/makelib/common.mk index 94f6a55a7..344d8495c 100644 --- a/build/makelib/common.mk +++ b/build/makelib/common.mk @@ -62,7 +62,7 @@ SED_CMD?=sed -i -e # 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 | sed 's/-g/.g/g;s/-dirty/.dirty/g') +VERSION := $(shell git describe --dirty --always --tags | sed 's/-/./2' | sed 's/-/./2' ) endif export VERSION