Correctly handle non stable versions in `--branch`

This commit is contained in:
Reuben Morais 2020-03-12 13:43:27 -03:00 committed by GitHub
parent e54eb5a783
commit 94cca3c651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ def main():
ds_version = parse_version(version_string) ds_version = parse_version(version_string)
args.branch = "v{}".format(version_string) args.branch = "v{}".format(version_string)
else: else:
ds_version = args.branch.lstrip('v') ds_version = parse_version(args.branch)
if args.decoder: if args.decoder:
plat = platform.system().lower() plat = platform.system().lower()