mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
build system: tweak VERSION so that debian-snapshot works for N.NN~rcN
The problem was that the version is recovered from the git tag, which has the ~ replaced by _. This broke the sequencing of version numbers.
This commit is contained in:
parent
53b921d604
commit
299e187bdf
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.]*'|sed -e s/-/+/ -e s/-/~/)
|
VERSION:=$(shell git describe --match '[0-9.]*'|sed -e s/_/~/ -e s/-/+/ -e s/-/~/)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue