152 lines
3.7 KiB
JSON
152 lines
3.7 KiB
JSON
|
{
|
||
|
"branches": [
|
||
|
{
|
||
|
"name": "main",
|
||
|
"channel": "stable",
|
||
|
"prerelease": false
|
||
|
},
|
||
|
{
|
||
|
"name": "devel",
|
||
|
"channel": "rc",
|
||
|
"prerelease": "rc"
|
||
|
}
|
||
|
],
|
||
|
"plugins": [
|
||
|
[
|
||
|
"@semantic-release/commit-analyzer", {
|
||
|
"preset": "conventionalcommits",
|
||
|
"releaseRules": [
|
||
|
{
|
||
|
"type": "feat",
|
||
|
"release": "minor"
|
||
|
},
|
||
|
{
|
||
|
"type": "fix",
|
||
|
"release": "patch"
|
||
|
},
|
||
|
{
|
||
|
"type": "docs",
|
||
|
"release": false
|
||
|
},
|
||
|
{
|
||
|
"type": "style",
|
||
|
"release": false
|
||
|
},
|
||
|
{
|
||
|
"type": "refactor",
|
||
|
"release": "patch"
|
||
|
},
|
||
|
{
|
||
|
"type": "perf",
|
||
|
"release": "minor"
|
||
|
},
|
||
|
{
|
||
|
"type": "test",
|
||
|
"release": "patch"
|
||
|
},
|
||
|
{
|
||
|
"type": "build",
|
||
|
"release": "patch"
|
||
|
},
|
||
|
{
|
||
|
"type": "ci",
|
||
|
"release": "patch"
|
||
|
},
|
||
|
{
|
||
|
"type": "revert",
|
||
|
"release": "patch"
|
||
|
},
|
||
|
{
|
||
|
"type": "release",
|
||
|
"release": false
|
||
|
}
|
||
|
],
|
||
|
"parserOpts": {
|
||
|
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
[
|
||
|
"@semantic-release/release-notes-generator", {
|
||
|
"preset": "conventionalcommits",
|
||
|
"presetConfig": {
|
||
|
"types": [
|
||
|
{
|
||
|
"type": "feat",
|
||
|
"section": "Features",
|
||
|
"hidden": false
|
||
|
},
|
||
|
{
|
||
|
"type": "fix",
|
||
|
"section": "Bug Fixes",
|
||
|
"hidden": false
|
||
|
},
|
||
|
{
|
||
|
"type": "docs",
|
||
|
"hidden": true
|
||
|
},
|
||
|
{
|
||
|
"type": "refactor",
|
||
|
"section": "Refactoring",
|
||
|
"hidden": false
|
||
|
},
|
||
|
{
|
||
|
"type": "perf",
|
||
|
"section": "Performance Improvements",
|
||
|
"hidden": false
|
||
|
},
|
||
|
{
|
||
|
"type": "test",
|
||
|
"section": " Tests",
|
||
|
"hidden": false
|
||
|
},
|
||
|
{
|
||
|
"type": "ci",
|
||
|
"section": "Continuous Integrations",
|
||
|
"hidden": false
|
||
|
},
|
||
|
{
|
||
|
"type": "chore",
|
||
|
"hidden": true
|
||
|
},
|
||
|
{
|
||
|
"type": "revert",
|
||
|
"section": "Reverts",
|
||
|
"hidden": false
|
||
|
},
|
||
|
{
|
||
|
"type": "release",
|
||
|
"hidden": true
|
||
|
},
|
||
|
{
|
||
|
"type": "build",
|
||
|
"section": "Build system and dependencies",
|
||
|
"hidden": false
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
[
|
||
|
"@semantic-release/changelog", {
|
||
|
"changelogFile": "CHANGELOG.md"
|
||
|
}
|
||
|
],
|
||
|
[
|
||
|
"@semantic-release/npm", {
|
||
|
"npmPublish": false
|
||
|
}
|
||
|
],
|
||
|
["@saithodev/semantic-release-gitea", {
|
||
|
"giteaUrl": "https://git.ext.icikowski.pl"
|
||
|
}],
|
||
|
[
|
||
|
"@semantic-release/git", {
|
||
|
"assets": ["CHANGELOG.md","package.json", "package-lock.json"],
|
||
|
"message": "release(${nextRelease.channel}): v${nextRelease.version}\n\n${nextRelease.notes}"
|
||
|
}
|
||
|
]
|
||
|
],
|
||
|
"preset": "conventionalcommits"
|
||
|
}
|
||
|
|