Skip to content

Commit

Permalink
build: Fix the releaserc file
Browse files Browse the repository at this point in the history
  • Loading branch information
jessieweiyi committed Mar 1, 2022
1 parent 1477fef commit d0b7a96
Showing 1 changed file with 31 additions and 7 deletions.
38 changes: 31 additions & 7 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -1,18 +1,42 @@
{
"branches": [{
"name": "main"
},
{
"name": "next",
"channel": "next"
}
],
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "angular",
"releaseRules": [
{"type": "docs", "scope": "README", "release": "patch"},
{"message": "*BREAKING CHANGE*", "release": "minor"},
{"type": "refactor", "message": "*RENAME Props*", "release": "minor"},
{"type": "feat", "release": "patch"},
{"type": "style", "release": "patch"}
"releaseRules": [{
"type": "docs",
"scope": "README",
"release": "patch"
},
{
"message": "*BREAKING CHANGE*",
"release": "minor"
},
{
"type": "refactor",
"message": "*RENAME Props*",
"release": "minor"
},
{
"type": "feat",
"release": "patch"
},
{
"type": "style",
"release": "patch"
}
]
}],
"@semantic-release/release-notes-generator",
["@semantic-release/npm", {
"pkgRoot": "./build",
"pkgRoot": "./build"
}],
["@semantic-release/exec", {
"successCmd": "RELEASED_VERSION=${nextRelease.version} ./scripts/postRelease.sh"
Expand Down

0 comments on commit d0b7a96

Please sign in to comment.