2023-09-24 11:49:47 +03:00
|
|
|
{
|
|
|
|
"branches": [
|
|
|
|
"main"
|
|
|
|
],
|
|
|
|
"ci": false,
|
|
|
|
"plugins": [
|
|
|
|
[
|
|
|
|
"@semantic-release/commit-analyzer",
|
|
|
|
{
|
2023-09-24 12:06:13 +03:00
|
|
|
"preset": "angular",
|
2023-09-24 11:49:47 +03:00
|
|
|
"releaseRules": [
|
2023-09-24 12:06:13 +03:00
|
|
|
{ "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 }
|
2023-09-24 11:49:47 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@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-24 11:49:47 +03:00
|
|
|
{
|
2023-09-26 13:17:20 +03:00
|
|
|
"prepareCmd": "./scripts/version ${nextRelease.version}",
|
|
|
|
}
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"semantic-release-github-pullrequest", {
|
2023-09-24 11:49:47 +03:00
|
|
|
"assets": [
|
2023-09-24 12:16:17 +03:00
|
|
|
"CHANGELOG.md",
|
2023-09-26 13:17:20 +03:00
|
|
|
"pyproject.toml",
|
|
|
|
"poetry.lock"
|
2023-09-24 11:49:47 +03:00
|
|
|
],
|
2023-09-26 13:17:20 +03:00
|
|
|
"baseRef": "main"
|
2023-09-24 11:49:47 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
2023-09-26 13:17:20 +03:00
|
|
|
}
|