mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
build system: remove dashes from git-describe generated version.
This makes it less confusing with released Debian versions, now that we have non-native Debian versions.
This commit is contained in:
parent
4a4ada73b7
commit
d9868bc056
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ ifneq ($(MAKECMDGOALS),release)
|
||||||
ifneq ($(MAKECMDGOALS),release-message)
|
ifneq ($(MAKECMDGOALS),release-message)
|
||||||
ifneq ($(MAKECMDGOALS),pre-release)
|
ifneq ($(MAKECMDGOALS),pre-release)
|
||||||
ifeq ($(IS_GIT),yes)
|
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
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue