We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3fced6 commit a1f51c5Copy full SHA for a1f51c5
dev/releases/make_github_release.py
@@ -26,7 +26,7 @@
26
if TAG_NAME.startswith("v4"):
27
VERSION = TAG_NAME[1:] # strip 'v' prefix
28
else:
29
- VERSION = TAG_NAME
+ VERSION = TAG_NAME # for "nightly"
30
31
utils.verify_git_clean()
32
utils.verify_is_possible_gap_release_tag(TAG_NAME)
@@ -43,7 +43,7 @@
43
utils.check_git_tag_for_release(TAG_NAME)
44
45
# 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()):
+if TAG_NAME != "nightly" and any(r.tag_name == TAG_NAME for r in utils.CURRENT_REPO.get_releases()):
47
utils.error(f"Github release with tag '{TAG_NAME}' already exists!")
48
49
# Create release
0 commit comments