Skip to content

Commit

Permalink
ci: update release rules for commits
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmu committed Apr 28, 2024
1 parent 9e63b30 commit 8643536
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions release.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,25 @@ module.exports = {
"master"
],
plugins: [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{ "type": "docs", "release": "patch" },
{ "type": "style", "release": "patch" },
{ "type": "refactor", "release": "patch" },
{ "type": "perf", "release": "patch" },
{ "type": "test", "release": "patch" },
{ "type": "build", "release": "patch" },
{ "type": "ci", "release": "patch" },
{ "type": "chore", "release": "patch" }
]
}
],
[
"@semantic-release/release-notes-generator",
],
[
"@semantic-release/changelog",
{
Expand Down

0 comments on commit 8643536

Please sign in to comment.