statapp/.releaserc.json

91 lines
2.6 KiB
JSON
Raw Normal View History

{
"branches": [
"main"
],
"ci": false,
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "ESLint",
"releaseRules": [
{
"tag": "breaking",
"release": "major"
},
{
"tag": "chore",
"release": false
},
{
"tag": "ci",
"release": false
},
{
"tag": "docs",
"release": false
},
{
"tag": "feat",
"release": "minor"
},
{
"tag": "fix",
"release": "patch"
},
{
"tag": "refactor",
"release": "patch"
},
{
"tag": "security",
"release": "patch"
},
{
"tag": "style",
"release": "patch"
},
{
"tag": "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"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}