Skip to content

Commit

Permalink
Fix issue with empty release in update_changelog script
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Sep 30, 2023
1 parent 484f7cc commit 87085a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/update_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 87085a0

Please sign in to comment.