statapp/.releaserc.json

70 lines
2.1 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"
}
],
[
2023-09-26 13:17:20 +03:00
"@semantic-release/exec",
{
2023-09-26 13:17:20 +03:00
"prepareCmd": "./scripts/version ${nextRelease.version}",
}
],
[
"semantic-release-github-pullrequest", {
"assets": [
"CHANGELOG.md",
2023-09-26 13:17:20 +03:00
"pyproject.toml",
"poetry.lock"
],
2023-09-26 13:17:20 +03:00
"baseRef": "main"
}
]
]
2023-09-26 13:17:20 +03:00
}