chore: pipeline adjustments
This commit is contained in:
parent
eb96639c17
commit
6b34a9774b
4 changed files with 68 additions and 9 deletions
|
|
@ -3,6 +3,69 @@
|
|||
"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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue