{
"branches": [
"+([0-9]).x",
"main",
{
"name": "rc",
"prerelease": true
},
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"type": "docs",
"release": "patch"
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{"type": "feat", "section": "Features"},
{"type": "fix", "section": "Bug Fixes"},
{"type": "docs", "section": "Documentation"},
{"type": "perf", "section": "Performance"}
]
}
}
],
[
"@semantic-release/exec",
{
"verifyConditionsCmd": "cargo publish --dry-run --allow-dirty",
"prepareCmd": "cargo install cargo-edit && cargo set-version ${nextRelease.version}",
"publishCmd": "cargo publish --allow-dirty --no-verify"
}
],
[
"@semantic-release/github",
{
"successComment": ":tada: This issue has been resolved in version [${nextRelease.version}](<github_release_url>) :tada:"
}
]
]
}