Skip to content

Commit

Permalink
fix: semantic release breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
benbenbang committed Sep 5, 2023
1 parent 802b99e commit c307785
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"branches": "main",
"parserOpts": {
"revertPattern": "^revert\\s.(\\w*\\([\\w\\$\\.\\-\\* ]*\\)\\: .*).\\s*This reverts commit (\\w*)?"
},
"branches": [
"main"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
Expand All @@ -16,8 +15,8 @@
"preset": "conventionalcommits",
"releaseRules": [
{
"release": "major",
"type": "*!"
"breaking": true,
"release": "major"
},
{
"release": "minor",
Expand Down Expand Up @@ -63,7 +62,7 @@
"types": [
{
"section": ":zap: Breaking Changes",
"type": "*!"
"type": "*"
},
{
"hidden": false,
Expand Down

0 comments on commit c307785

Please sign in to comment.