mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 19:08:09 +01:00
build: use UPSTREAM_TAG and not VERSION to generate tarball
The latter can have "~" in it, which is not legal for a git tag.
This commit is contained in:
parent
2983a85eed
commit
5535453495
1 changed files with 2 additions and 2 deletions
|
@ -80,8 +80,8 @@ version.stamp: $(srcdir)/version
|
||||||
echo $(VERSION) > $@
|
echo $(VERSION) > $@
|
||||||
|
|
||||||
$(TAR_FILE):
|
$(TAR_FILE):
|
||||||
if git tag -v $(VERSION) >/dev/null 2>&1; then \
|
if git tag -v $(UPSTREAM_TAG) >/dev/null 2>&1; then \
|
||||||
ref=$(VERSION); \
|
ref=$(UPSTREAM_TAG); \
|
||||||
else \
|
else \
|
||||||
ref="HEAD" ; \
|
ref="HEAD" ; \
|
||||||
echo "Warning: No signed tag for $(VERSION)"; \
|
echo "Warning: No signed tag for $(VERSION)"; \
|
||||||
|
|
Loading…
Reference in a new issue