78 lines
2.4 KiB
JSON
78 lines
2.4 KiB
JSON
{
|
|
"branches": ["main"],
|
|
"tagFormat": "v${version}",
|
|
"plugins": [
|
|
"@semantic-release/commit-analyzer",
|
|
[
|
|
"semantic-release-replace-plugin",
|
|
{
|
|
"replacements": [
|
|
{
|
|
"files": ["action.yml"],
|
|
"from": " image: 'docker://stackit-solutions.git.onstackit.cloud/actions/notify-slim:v.*'",
|
|
"to": " image: 'docker://stackit-solutions.git.onstackit.cloud/actions/notify-slim:v${nextRelease.version}'",
|
|
"results": [
|
|
{
|
|
"file": "action.yml",
|
|
"hasChanged": true,
|
|
"numMatches": 1,
|
|
"numReplacements": 1
|
|
}
|
|
],
|
|
"countMatches": true
|
|
},
|
|
{
|
|
"files": ["README.md"],
|
|
"from": " uses: https://stackit-solutions.git.onstackit.cloud/actions/notify@v.*",
|
|
"to": " uses: https://stackit-solutions.git.onstackit.cloud/actions/notify@v${nextRelease.version}",
|
|
"results": [
|
|
{
|
|
"file": "README.md",
|
|
"hasChanged": true,
|
|
"numMatches": 1,
|
|
"numReplacements": 1
|
|
}
|
|
],
|
|
"countMatches": true
|
|
},
|
|
{
|
|
"files": [".github/workflows/example.yml"],
|
|
"from": " VER: .*",
|
|
"to": " VER: ${nextRelease.version}",
|
|
"results": [
|
|
{
|
|
"file": ".github/workflows/example.yml",
|
|
"hasChanged": true,
|
|
"numMatches": 1,
|
|
"numReplacements": 1
|
|
}
|
|
],
|
|
"countMatches": true
|
|
},
|
|
{
|
|
"files": [".github/workflows/release.yml"],
|
|
"from": " VER: .*",
|
|
"to": " VER: ${nextRelease.version}",
|
|
"results": [
|
|
{
|
|
"file": ".github/workflows/release.yml",
|
|
"hasChanged": true,
|
|
"numMatches": 1,
|
|
"numReplacements": 1
|
|
}
|
|
],
|
|
"countMatches": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"@semantic-release/release-notes-generator",
|
|
"@semantic-release/changelog",
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"assets": ["CHANGELOG.md", "README.md", "action.yml", ".github/workflows/example.yml", ".github/workflows/release.yml"]
|
|
}
|
|
]
|
|
]
|
|
}
|