]> git.notmuchmail.org Git - notmuch/commitdiff
build: use UPSTREAM_TAG and not VERSION to generate tarball 0.18_rc1 debian/0.18_rc1-1
authorDavid Bremner <david@tethera.net>
Sat, 3 May 2014 23:11:35 +0000 (08:11 +0900)
committerDavid Bremner <david@tethera.net>
Sat, 3 May 2014 23:11:35 +0000 (08:11 +0900)
The latter can have "~" in it, which is not legal for a git tag.

Makefile.local

index 877a97903a4ce12e4bb489d3a4c52785767788f0..086b5a115f8b0a6e42af327f6c5e385c811cd6fe 100644 (file)
@@ -80,8 +80,8 @@ version.stamp: $(srcdir)/version
        echo $(VERSION) > $@
 
 $(TAR_FILE):
-       if git tag -v $(VERSION) >/dev/null 2>&1; then \
-           ref=$(VERSION); \
+       if git tag -v $(UPSTREAM_TAG) >/dev/null 2>&1; then \
+           ref=$(UPSTREAM_TAG); \
         else \
            ref="HEAD" ; \
           echo "Warning: No signed tag for $(VERSION)"; \