From e27e421f989aea2c89d6cdd1d73297243540e0d4 Mon Sep 17 00:00:00 2001 From: TheCharlatan Date: Wed, 7 Nov 2018 18:27:52 +0100 Subject: Fix version prefix in gitian build The version prefix 'v' should just be set constantly. Reflect this change in the README as well. This should allow building commits as well, if a commit is passed in instead of a tag. --- contrib/gitian/gitian-build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/gitian/gitian-build.py') diff --git a/contrib/gitian/gitian-build.py b/contrib/gitian/gitian-build.py index 99c64e9dd..df1ba0d6b 100755 --- a/contrib/gitian/gitian-build.py +++ b/contrib/gitian/gitian-build.py @@ -165,7 +165,7 @@ def main(): # Add leading 'v' for tags if args.commit and args.pull: raise Exception('Cannot have both commit and pull') - args.commit = ('' if args.commit else) + args.version + args.commit = args.commit if args.commit else args.version if args.setup: setup() -- cgit v1.2.3