Skip to content

Commit

Permalink
ci(Config): Improve release config
Browse files Browse the repository at this point in the history
  • Loading branch information
Belphemur committed Aug 26, 2022
1 parent 063d51b commit 18765ea
Showing 1 changed file with 84 additions and 0 deletions.
84 changes: 84 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,90 @@
"README.md",
"LICENSE"
],
"release": {
"branches": [
{
"name": "master",
"prerelease": false
},
{
"name": "develop",
"prerelease": true
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"breaking": true,
"release": "major"
},
{
"revert": true,
"release": "patch"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "perf",
"release": "patch"
},
{
"type": "lang",
"release": "patch"
},
{
"type": "boost",
"release": "patch"
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "boost",
"section": "Enhancements"
},
{
"type": "lang",
"section": "Languages"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "feat",
"section": "Features"
},
{
"type": "tests",
"section": "Tests"
}
]
}
}
],
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
},
"release": {
"getLastRelease": "last-release-git",
"verifyConditions": [
Expand Down

0 comments on commit 18765ea

Please sign in to comment.