From fade82b8c23f2f91ff99f6d1fcc9c9f0f4465040 Mon Sep 17 00:00:00 2001 From: "Antonio [Vauxoo]" <101678296+antonag32@users.noreply.github.com> Date: Mon, 2 Oct 2023 19:24:45 -0600 Subject: [PATCH] [REF] setup.py: Filter out "bump version" from CHANGELOG (#472) Commits with bump versions will no longer be displayed on the auto generated CHANGELOG. Closes #471. --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index b532c943..67a9fc17 100644 --- a/setup.py +++ b/setup.py @@ -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)