41 lines
993 B
JSON
41 lines
993 B
JSON
|
{
|
||
|
"branches": ["main", { "name": "staging", "prerelease": true }],
|
||
|
"plugins": [
|
||
|
"@semantic-release/commit-analyzer",
|
||
|
"@semantic-release/release-notes-generator",
|
||
|
[
|
||
|
"@semantic-release/exec",
|
||
|
{
|
||
|
"prepareCmd": "replace-in-files --regex='version\": *\"[^\"]*' --replacement='\"version\": \"${nextRelease.version}\"' '**/package.json' '!**/node_modules/**'"
|
||
|
}
|
||
|
],
|
||
|
[
|
||
|
"@semantic-release/git",
|
||
|
{
|
||
|
"assets": [
|
||
|
"package.json",
|
||
|
"apps/*/package.json",
|
||
|
"packages/*/package.json"
|
||
|
],
|
||
|
"message": "chore(release): ${nextRelease.version} [skip ci]"
|
||
|
}
|
||
|
],
|
||
|
[
|
||
|
"@semantic-release/github",
|
||
|
{
|
||
|
"successComment": false,
|
||
|
"failComment": false
|
||
|
}
|
||
|
],
|
||
|
[
|
||
|
"@saithodev/semantic-release-backmerge",
|
||
|
{
|
||
|
"branches": [
|
||
|
{ "from": "main", "to": "develop" },
|
||
|
{ "from": "staging", "to": "develop" }
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
]
|
||
|
}
|