mirror of
https://github.com/shizand/statapp.git
synced 2024-12-23 12:12:59 +03:00
chore: добавляет конфигурацию semantic-release
This commit is contained in:
parent
4330225902
commit
4ae759a3de
91
.releaserc.json
Normal file
91
.releaserc.json
Normal file
@ -0,0 +1,91 @@
|
||||
{
|
||||
"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}"
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user