2021-04-20 01:15:07 +02:00
|
|
|
{
|
2024-07-30 23:59:06 +02:00
|
|
|
"branches": ["main", { "name": "staging", "prerelease": true }],
|
2021-04-20 01:15:07 +02:00
|
|
|
"plugins": [
|
2024-07-30 23:59:06 +02:00
|
|
|
"@semantic-release/commit-analyzer",
|
|
|
|
"@semantic-release/release-notes-generator",
|
2021-04-20 17:32:53 +02:00
|
|
|
[
|
2024-07-30 23:59:06 +02:00
|
|
|
"@semantic-release/exec",
|
2021-04-20 17:32:53 +02:00
|
|
|
{
|
2024-07-30 23:59:06 +02:00
|
|
|
"prepareCmd": "replace-in-files --regex='version\": *\"[^\"]*' --replacement='\"version\": \"${nextRelease.version}\"' '**/package.json' '!**/node_modules/**'"
|
2021-08-12 01:19:11 +02:00
|
|
|
}
|
|
|
|
],
|
2021-07-27 19:35:08 +02:00
|
|
|
[
|
|
|
|
"@semantic-release/git",
|
|
|
|
{
|
2024-07-30 23:59:06 +02:00
|
|
|
"assets": [
|
|
|
|
"package.json",
|
|
|
|
"apps/*/package.json",
|
|
|
|
"packages/*/package.json"
|
|
|
|
],
|
2021-07-27 19:35:08 +02:00
|
|
|
"message": "chore(release): ${nextRelease.version} [skip ci]"
|
|
|
|
}
|
|
|
|
],
|
2021-07-27 21:01:33 +02:00
|
|
|
"@semantic-release/github",
|
|
|
|
[
|
|
|
|
"@saithodev/semantic-release-backmerge",
|
|
|
|
{
|
2024-07-30 23:59:06 +02:00
|
|
|
"branches": [
|
|
|
|
{ "from": "main", "to": "develop" },
|
|
|
|
{ "from": "staging", "to": "develop" }
|
|
|
|
]
|
2021-07-27 21:01:33 +02:00
|
|
|
}
|
|
|
|
]
|
2021-04-20 01:15:07 +02:00
|
|
|
]
|
|
|
|
}
|