Correctly handle non stable versions in `--branch`
This commit is contained in:
parent
e54eb5a783
commit
94cca3c651
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue