From 55354534953fd631ae1f51cf0f46732f00fde9c2 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 4 May 2014 08:11:35 +0900 Subject: [PATCH] build: use UPSTREAM_TAG and not VERSION to generate tarball The latter can have "~" in it, which is not legal for a git tag. --- Makefile.local | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.local b/Makefile.local index 877a9790..086b5a11 100644 --- a/Makefile.local +++ b/Makefile.local @@ -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)"; \ -- 2.43.0