Skip to content

Commit a1f51c5

Browse files
committed
WIP15
1 parent b3fced6 commit a1f51c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/releases/make_github_release.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
if TAG_NAME.startswith("v4"):
2727
VERSION = TAG_NAME[1:] # strip 'v' prefix
2828
else:
29-
VERSION = TAG_NAME
29+
VERSION = TAG_NAME # for "nightly"
3030

3131
utils.verify_git_clean()
3232
utils.verify_is_possible_gap_release_tag(TAG_NAME)
@@ -43,7 +43,7 @@
4343
utils.check_git_tag_for_release(TAG_NAME)
4444

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

4949
# Create release

0 commit comments

Comments
 (0)