X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=Makefile.local;h=2c07bd789df1d3f35fc60a09e33f7561172f4631;hp=38f6c1742b92f80d2930dcbdd70b9ddf867d9fe5;hb=d9868bc056db69e3d9a3b119fd284345df60db9f;hpb=4a4ada73b751b1916c5dc4d408a8056411566e38 diff --git a/Makefile.local b/Makefile.local index 38f6c174..2c07bd78 100644 --- a/Makefile.local +++ b/Makefile.local @@ -17,7 +17,7 @@ ifneq ($(MAKECMDGOALS),release) ifneq ($(MAKECMDGOALS),release-message) ifneq ($(MAKECMDGOALS),pre-release) ifeq ($(IS_GIT),yes) -VERSION:=$(shell git describe --match '[0-9.]*') +VERSION:=$(shell git describe --match '[0-9.]*'|sed -e s/-/+/ -e s/-/~/) endif endif endif