statapp/.releaserc.json

63 lines
2.0 KiB
JSON
Raw Normal View History

{
"branches": [
"main"
],
"ci": false,
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{ "type": "breaking", "release": "major" },
{ "type": "chore", "release": false },
{ "type": "ci", "release": false },
{ "type": "docs", "scope": "README.md", "release": "patch" },
{ "type": "docs", "release": false },
{ "type": "feat", "release": "minor" },
{ "type": "fix", "release": "patch" },
{ "type": "refactor", "release": "patch" },
{ "type": "security", "release": "patch" },
{ "type": "style", "release": "patch" },
{ "type": "test", "release": false }
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Новые функции"
},
{
"type": "fix",
"section": "Исправления"
}
]
},
"linkCompare": false,
"linkReferences": false
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"pyproject.toml"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}