Skip to content

Commit a546b8d

Browse files
committed
🔧 fix(releaserc): update headerPattern regex for improved commit message parsing
1 parent 2064b8f commit a546b8d

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": "^(?:([\\w:]+))?\\s?([\\w\\-]+)(?:\\(([^)]+)\\))?:?\\s(.+)$"
25+
"headerPattern": "^(?:([\u231A-\uD83E\uDDFF]|:[^:]+:)?\\s*)?([\\w-]+)(?:\\(([^)]+)\\))?:?\\s(.+)$"
2626
}
2727
}
2828
],

0 commit comments

Comments
 (0)