Skip to content

Commit 2c375e1

Browse files
Update post-discord-release.js
Signed-off-by: CreativeCodeCat <wayne6324@gmail.com>
1 parent 1b6d6df commit 2c375e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

post-discord-release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function run(cmd) {
6666
}
6767

6868
function cleanMessage(message) {
69-
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, "");
69+
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, "");
7070
}
7171

7272
function linkPR(message) {

0 commit comments

Comments
 (0)