correctly get pre (#14179)
This commit is contained in:
parent
b900ea44bf
commit
c9e704863e
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ def main():
|
||||||
suffix = ''
|
suffix = ''
|
||||||
if '-' in version:
|
if '-' in version:
|
||||||
suffix = '-' + version.split('-')[1]
|
suffix = '-' + version.split('-')[1]
|
||||||
|
versions[3] = parse_version(version)[3]
|
||||||
version = version.split('-')[0]
|
version = version.split('-')[0]
|
||||||
|
|
||||||
if args.dry_run:
|
if args.dry_run:
|
||||||
|
|
Loading…
Reference in a new issue