We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db86280 commit 439fb5aCopy full SHA for 439fb5a
1 file changed
devscripts/create_release_notes.py
@@ -130,6 +130,10 @@ def main() -> int:
130
print_warning("No tags found in the repository! Creating release notes from the first commit onwards.")
131
print_info(f"Latest Tag: {latest_tag!r}")
132
133
+ # Check if the latest tag is the same as the current tag
134
+ if latest_tag == TAG_NAME:
135
+ print_critical_error(f"The latest tag is the same as the current tag {TAG_NAME!r}. Skipping the release notes generation.")
136
+
137
# Current date
138
CURRENT_DATE: str = time.strftime("%Y-%m-%d")
139
0 commit comments