ci: tag fixes and robustness to workflow failures (#3838)
This commit is contained in:
parent
f17de26ab0
commit
a7d1449e9d
10 changed files with 125 additions and 35 deletions
|
|
@ -42,6 +42,11 @@ def main() -> None:
|
|||
if len(sys.argv) != 3:
|
||||
raise Exception("New version not specified")
|
||||
new_version = sys.argv[1]
|
||||
|
||||
# Strip "v" prefix from version if present
|
||||
if new_version.startswith("v"):
|
||||
new_version = new_version[1:]
|
||||
|
||||
build_type = sys.argv[2]
|
||||
|
||||
verify_pep440(new_version)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue