Skip to content

Commit

Permalink
ci: Allow exclamation mark alias to be used as BREAKING CHANGE keyw…
Browse files Browse the repository at this point in the history
…ord (#67)
  • Loading branch information
wakamsha authored Jul 21, 2024
1 parent 05cbd74 commit 70cc213
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,24 @@
*/
export default {
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
[
'@semantic-release/commit-analyzer',
{
parserOpts: {
// see: https://github.com/semantic-release/commit-analyzer/issues/231#issuecomment-1242113093
breakingHeaderPattern: /^(\w*)(?:\((.*)\))?!: (.*)$/,
},
},
],
[
'@semantic-release/release-notes-generator',
{
parserOpts: {
// see: https://github.com/semantic-release/commit-analyzer/issues/231#issuecomment-1242113093
breakingHeaderPattern: /^(\w*)(?:\((.*)\))?!: (.*)$/,
},
},
],
'@semantic-release/changelog',
'@semantic-release/npm',
[
Expand Down

0 comments on commit 70cc213

Please sign in to comment.