forked from commitizen/cz-conventional-changelog
-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
I've configured my commits' subject to be in the format as JIRA-9999 | <type>(scope): <description>
When running semantic-release no releases are detected. Using conventionalcommits preset for the @semantic-release/commit-analyzer
E.g. commit message JIRA-9999 | feat: test
Here's my config in package.json
"config": {
"commitizen": {
"path": "./node_modules/@digitalroute/cz-conventional-changelog-for-jira",
"jiraMode": true,
"jiraPrefix": "JIRA",
"jiraLocation": "pre-type",
"jiraAppend": " |",
"exclamationMark": true
}
},
Attempted: different that works on matching the string but headerPattern RegEx in the parserOpts for the config of @semantic-release/commit-analyzer
RegEx - /(\w*)(?:\((.*)\))?!?: (.*)$/gi
If the jira position is moved, e.g. pre-description - semantic-release works fine
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels