ci: tag fixes and robustness to workflow failures (#3838)

This commit is contained in:
Jordan Frazier 2024-09-17 18:03:48 -07:00 committed by GitHub
commit a7d1449e9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 125 additions and 35 deletions

View file

@ -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)