Skip to content

Commit 6dfdf60

Browse files
Update generate-changelog.js
Signed-off-by: CreativeCodeCat <wayne6324@gmail.com>
1 parent fb6688b commit 6dfdf60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

generate-changelog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function classifyCommit(msg) {
110110
}
111111

112112
function cleanMessage(message) {
113-
return message.replace(/^(feat|fix|fixed|bug|lang|i18n|doc|docs|perf|refactor|style|ui|ux|security|revert|release|dependency|deps|build|ci|pipeline|chore|housekeeping|version|versioning|config|configuration|cleanup|clean\(up\)|drop|remove|deprecated|hotfix|emergency|test|infra|infrastructure|ops|asset|content|exp|experiment|prototype)\s*(\(.+?\))?:\s*/i, "");
113+
return message.replace(/^(feat|feature|fix|fixed|bug|lang|i18n|doc|docs|perf|refactor|style|ui|ux|security|revert|release|dependency|deps|build|ci|pipeline|chore|housekeeping|version|versioning|config|configuration|cleanup|clean\(up\)|drop|remove|deprecated|hotfix|emergency|test|infra|infrastructure|ops|asset|content|exp|experiment|prototype)\s*(\(.+?\))?:\s*/i, "");
114114
}
115115

116116
function linkPR(message) {

0 commit comments

Comments
 (0)