mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-11-05 04:51:30 +01:00
35 lines
900 B
JSON
35 lines
900 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",
|
|
[
|
|
"@saithodev/semantic-release-backmerge",
|
|
{
|
|
"branches": [
|
|
{ "from": "main", "to": "develop" },
|
|
{ "from": "staging", "to": "develop" }
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|