aboutsummaryrefslogtreecommitdiff
path: root/contrib/gitian/gitian-build.py
diff options
context:
space:
mode:
authorTheCharlatan <seb.kung@gmail.com>2018-11-07 18:27:52 +0100
committerTheCharlatan <seb.kung@gmail.com>2018-11-07 18:30:49 +0100
commite27e421f989aea2c89d6cdd1d73297243540e0d4 (patch)
tree24ff3f7852c26056f2678088aadd0a016a08d07c /contrib/gitian/gitian-build.py
parentMerge pull request #4814 (diff)
downloadmonero-e27e421f989aea2c89d6cdd1d73297243540e0d4.tar.xz
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.
Diffstat (limited to '')
-rwxr-xr-xcontrib/gitian/gitian-build.py2
1 files changed, 1 insertions, 1 deletions
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()