Skip to content

Commit

Permalink
[REF] Filter out "bump version" from CHANGELOG
Browse files Browse the repository at this point in the history
Commits which bump versions will no longer be displayed on the auto
generated CHANGELOG.

Closes #471.
  • Loading branch information
antonag32 committed Oct 2, 2023
1 parent 8a72b28 commit 9cd3bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def generate_changelog():
fchg.write(changelog_str)
return changelog_str
changelog = git._iter_log_oneline()
changelog = git._iter_changelog(changelog)
changelog = git._iter_changelog(filter(lambda log: not log[2].startswith("Bump version"), changelog))
git.write_git_changelog(changelog=changelog)
# git.generate_authors()
return read(fname)
Expand Down

0 comments on commit 9cd3bf9

Please sign in to comment.