Skip to content

Commit 130d0eb

Browse files
committed
ci: update changelog generator
1 parent b067797 commit 130d0eb

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

sample/csharp/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Link: https://github.com/MaaXYZ/MaaFramework.Binding.CSharp/tree/main/sample

tools/ChangelogGenerator/changelog_generator.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ def print_commits(commits: dict, indent: str = "", need_sort: bool = True) -> (s
131131
for commit_hash, commit_info in commits.items():
132132
commit_message = commit_info["message"]
133133

134-
if not with_commitizen:
135-
commitizens = r"(?:build|chore|ci|docs?|feat|fix|perf|refactor|rft|style|test)"
136-
commit_message = re.sub(rf"^(?:{commitizens}, *)*{commitizens} *(?:\([^\)]*\))*: *", "", commit_message)
134+
#if not with_commitizen:
135+
# commitizens = r"(?:build|chore|ci|docs?|feat|fix|perf|refactor|rft|style|test)"
136+
# commit_message = re.sub(rf"^(?:{commitizens}, *)*{commitizens} *(?:\([^\)]*\))*: *", "", commit_message)
137137

138138
ret_message += indent + "- " + commit_message
139139

0 commit comments

Comments
 (0)