diff --git a/config/release.config.js b/config/release.config.js index 4d1f628..9c9610f 100644 --- a/config/release.config.js +++ b/config/release.config.js @@ -4,7 +4,7 @@ module.exports = { preset: 'eslint', releaseRules: './config/release-rules.js', parserOpts: { - headerPattern: /^(?:\:(\w*)\:)?\s(\w*)\:\s(.*?)(?:\((.*)\))?$/, + headerPattern: /^(?::([\w-]*):)?\s*(\w*):\s*(.*)$/, headerCorrespondence: [ 'emoji', 'tag', @@ -15,7 +15,7 @@ module.exports = { generateNotes: { preset: 'eslint', parserOpts: { - headerPattern: /^(?:\:(\w*)\:)?\s(\w*)\:\s(.*?)(?:\((.*)\))?$/, + headerPattern: /^(?::([\w-]*):)?\s*(\w*):\s*(.*)$/, headerCorrespondence: [ 'emoji', 'tag',