]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile.local
build: use UPSTREAM_TAG and not VERSION to generate tarball
[notmuch] / 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)"; \