Fix issue with empty release in update_changelog script

This commit is contained in:
Bruno Alla 2023-09-30 11:20:49 +01:00
parent 484f7cce0a
commit 87085a068e
No known key found for this signature in database

View File

@ -32,6 +32,9 @@ def main() -> None:
# Group pull requests by type of change
grouped_pulls = group_pulls_by_change_type(merged_pulls)
if not any(grouped_pulls.values()):
print("Pull requests merged aren't worth a changelog mention.")
return
# Generate portion of markdown
release_changes_summary = generate_md(grouped_pulls)