We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 774d086 commit 3020622Copy full SHA for 3020622
.release-it.js
@@ -22,7 +22,7 @@ function groupCommitsByCategory(logs) {
22
// Loop through each prefix to find conventional commit pattern ex. feat: , feat(card):, feat(card)! including some edge cases
23
Object.entries(prefixes).forEach(([prefix, category]) => {
24
const regex = new RegExp(
25
- `^(${prefix}(\([\w\-]+\))?!?: [^\r\n]+((\s)((\s)[^\r\n]+)+)*)(\s?)$`
+ `^(${prefix}(\\([\\w\\-]+\\))?!?: [^\\r\\n]+((\\s)((\\s)[^\\r\\n]+)+)*)(\\s?)$`
26
);
27
const matches = logs.filter((l) => l.match(regex));
28
grouped[category] = [...matches, ...grouped[category]];
0 commit comments