mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-14 05:36:58 +03:00
Fix issue with empty release in update_changelog script
This commit is contained in:
parent
484f7cce0a
commit
87085a068e
|
@ -32,6 +32,9 @@ def main() -> None:
|
||||||
|
|
||||||
# Group pull requests by type of change
|
# Group pull requests by type of change
|
||||||
grouped_pulls = group_pulls_by_change_type(merged_pulls)
|
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
|
# Generate portion of markdown
|
||||||
release_changes_summary = generate_md(grouped_pulls)
|
release_changes_summary = generate_md(grouped_pulls)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user