From 3ab04bb5d2293ac3a18a37ebfdcf2fde7a305183 Mon Sep 17 00:00:00 2001 From: status102 <102887808+status102@users.noreply.github.com> Date: Sat, 2 Nov 2024 22:10:54 +0800 Subject: [PATCH] chore: changelog_generator --- tools/ChangelogGenerator/changelog_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ChangelogGenerator/changelog_generator.py b/tools/ChangelogGenerator/changelog_generator.py index 9ba8658c90..01111dd3a3 100644 --- a/tools/ChangelogGenerator/changelog_generator.py +++ b/tools/ChangelogGenerator/changelog_generator.py @@ -337,7 +337,7 @@ def main(tag_name=None, latest=None): rf'git show -s --format=%b%n {commit_hash}' ) raw_git_shows = call_command(git_show_command) - for commit_body in raw_git_shows.split("\n\n"): + for commit_body in raw_git_shows.split("\n"): if not commit_body.startswith("* ") and "[skip changelog]" in commit_body: raw_commits_info[commit_hash]["skip"] = True