Skip to content

Commit

Permalink
WIP15
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Oct 24, 2023
1 parent b3fced6 commit a1f51c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/releases/make_github_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
if TAG_NAME.startswith("v4"):
VERSION = TAG_NAME[1:] # strip 'v' prefix
else:
VERSION = TAG_NAME
VERSION = TAG_NAME # for "nightly"

utils.verify_git_clean()
utils.verify_is_possible_gap_release_tag(TAG_NAME)
Expand All @@ -43,7 +43,7 @@
utils.check_git_tag_for_release(TAG_NAME)

# Error if this release has been already created on GitHub
if any(r.tag_name == TAG_NAME for r in utils.CURRENT_REPO.get_releases()):
if TAG_NAME != "nightly" and any(r.tag_name == TAG_NAME for r in utils.CURRENT_REPO.get_releases()):
utils.error(f"Github release with tag '{TAG_NAME}' already exists!")

# Create release
Expand Down

0 comments on commit a1f51c5

Please sign in to comment.