mirror of
https://github.com/monero-project/monero.git
synced 2025-05-02 12:46:06 -04:00
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.
This commit is contained in:
parent
8534f71eed
commit
e27e421f98
2 changed files with 8 additions and 21 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue