Skip to content

Commit b01b05a

Browse files
committed
fix: changelog TYPE_REGEX now supports scoped commit messages W-21968600
Made-with: Cursor
1 parent 2da64f5 commit b01b05a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/change-log-constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ module.exports = Object.freeze({
1414
RELEASE_REGEX: new RegExp(/^origin\/release\/v\d{2}\.\d{1,2}\.\d/),
1515
PR_REGEX: new RegExp(/(\(#\d+\))/),
1616
COMMIT_REGEX: new RegExp(/^([\da-zA-Z]+)/),
17-
TYPE_REGEX: new RegExp(/([a-zA-Z]+)(?:\([\w-]+\))?:/),
17+
TYPE_REGEX: new RegExp(/([a-zA-Z]+)(?:\([^)]*\))?:/),
1818
GUS_WI_REGEX: new RegExp(/\[W-\d+\]\s*/g)
1919
});

0 commit comments

Comments
 (0)