Skip to content

Commit f7329b5

Browse files
committed
🔧 chore(releaserc): update headerPattern for improved commit message parsing
1 parent e5e6990 commit f7329b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.releaserc.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
{ "type": "chore", "release": "patch", "subject": "/^([\u231A-\uD83E\uDDFF]|:[^:]+:)/" }
2323
],
2424
"parserOpts": {
25-
"headerPattern": "^(?:([\u231A-\uD83E\uDDFF]|:[^:]+:)?\\s*)?([\\w-]+)(?:\\(([^)]+)\\))?:?\\s(.+)$"
25+
"headerPattern": "^(?:[\\W_]+)?([\\w-]+)(?:\\(([^)]+)\\))?:?\\s(.+)$"
2626
}
2727
}
2828
],

0 commit comments

Comments
 (0)