All checks were successful
multi-semantic-release / multi-semantic-release (push) Successful in 13s
57 lines
1.3 KiB
Cheetah
57 lines
1.3 KiB
Cheetah
{
|
|
"name": "{{ .img_name }}",
|
|
"license": "UNLICENSED",
|
|
"release": {
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
"preset": "conventionalcommits",
|
|
"releaseRules": [
|
|
{
|
|
"breaking": true,
|
|
"release": "major"
|
|
},
|
|
{
|
|
"revert": true,
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "feat",
|
|
"release": "minor"
|
|
},
|
|
{
|
|
"type": "fix",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "perf",
|
|
"release": "patch"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
[
|
|
"semantic-release-replace-plugin",
|
|
{
|
|
"replacements": [
|
|
{
|
|
"files": [ "{{ .img_path }}/msr.yaml" ],
|
|
"from": "^version:.*$",
|
|
"to": "version: ${nextRelease.version}",
|
|
"allowEmptyPaths": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"assets": [ "msr.yaml" ],
|
|
"message": "ci(release): {{ .img_name }}-v${nextRelease.version}\n\n${nextRelease.notes}"
|
|
}
|
|
]
|
|
],
|
|
"branches": [ "main" ]
|
|
}
|
|
}
|