mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-27 07:18:17 +01:00
60 lines
1.4 KiB
Plaintext
60 lines
1.4 KiB
Plaintext
{
|
|
"branches": ["master"],
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
"preset": "conventionalcommits",
|
|
"releaseRules": [
|
|
{ "type": "chore", "release": "patch" },
|
|
{ "type": "chore", "scope": "release", "release": false },
|
|
{ "type": "refactor", "release": "patch" }
|
|
]
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/release-notes-generator",
|
|
{
|
|
"preset": "conventionalcommits",
|
|
"presetConfig": {
|
|
"types": [
|
|
{
|
|
"type": "feat",
|
|
"section": "Features"
|
|
},
|
|
{
|
|
"type": "fix",
|
|
"section": "Bug Fixes"
|
|
},
|
|
{
|
|
"type": "chore",
|
|
"section": "Chores"
|
|
},
|
|
{
|
|
"type": "refactor",
|
|
"section": "Refactors"
|
|
},
|
|
{
|
|
"type": "revert",
|
|
"section": "Reverts"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/exec",
|
|
{
|
|
"prepareCmd": "npm version ${nextRelease.version} --no-git-tag-version --allow-same-version",
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"assets": ["package.json"],
|
|
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
}
|
|
]
|
|
]
|
|
}
|