Skip to content

Commit

Permalink
🚑️ (semantic) noteKeywords for [b]reaking
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeFitz committed May 11, 2021
1 parent cedc18a commit a9f3f05
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/semantic/release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,7 @@ Object.keys(types).map((type, index) => {

const parserOpts = {
headerPattern: /^(.*?)(?:\((.*)\))?:?\s(.*)$/,
noteKeywords: [
'💥️ BREAKING CHANGE',
'💥️ BREAKING CHANGE',
'BREAKING CHANGE',
'BREAKING CHANGES',
],
noteKeywords: ['💥️ BREAKING CHANGE', 'BREAKING CHANGE'],
referenceActions: typeSpecs.map(({ type }) => type),
revertPattern: /^Revert\s"([\s\S]*)"\s*This reverts commit (\w*)\./,
}
Expand Down Expand Up @@ -99,6 +94,8 @@ const writerOpts = {

commit.subject = subject

console.dir(commit)

return commit
},
// groupBy: 'order',
Expand Down

0 comments on commit a9f3f05

Please sign in to comment.