Skip to content

Commit

Permalink
fix: change release config
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Feb 27, 2025
1 parent ce7ae24 commit 7da11ff
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,36 @@
{ "name": "prerelease", "prerelease": "rc" }
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/commit-analyzer", {
"preset": "angular",
"releaseRules": [
{ "type": "breaking", "release": "major" },
{ "type": "resources", "release": "minor" },
{ "type": "feature", "release": "minor" },
{ "type": "bugfix", "release": "patch" },
{ "type": "refactor", "release": "patch" },
{ "scope": "no-release", "release": false }
]
}],
["@semantic-release/release-notes-generator", {
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{ "type": "breaking", "section": "Breaking Changes" },
{ "type": "resources", "section": "API Resources" },
{ "type": "feat", "section": "Features" },
{ "type": "feature", "section": "Features" },
{ "type": "fix", "section": "Bug Fixes" },
{ "type": "bugfix", "section": "Bug Fixes" },
{ "type": "perf", "section": "Performance" },
{ "type": "refactor", "section": "Refactoring", "hidden": true },
{ "type": "test", "section": "Testing", "hidden": true },
{ "type": "docs", "section": "Documentation" },
{ "type": "chore", "hidden": true },
{ "type": "style", "hidden": true }
]
}
}],
"@semantic-release/npm",
"@semantic-release/github",
["@semantic-release/changelog", {
Expand Down

0 comments on commit 7da11ff

Please sign in to comment.