Skip to content

Commit

Permalink
[REF] setup.py: Filter out "bump version" from CHANGELOG (#472)
Browse files Browse the repository at this point in the history
Commits with bump versions will no longer be displayed on the auto generated CHANGELOG.

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


Expand Down

0 comments on commit fade82b

Please sign in to comment.