{
    "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/exec",
            {
                "prepareCmd": "./scripts/version ${nextRelease.version}"
            }
        ],
        [
            "semantic-release-github-pullrequest", {
                "assets": [
                    "CHANGELOG.md",
                    "pyproject.toml",
                    "poetry.lock"
                ],
                "baseRef": "main"
            }
        ]
    ]
}