Skip to content

Commit

Permalink
ci: refine releaseRules glob
Browse files Browse the repository at this point in the history
Negate match so that commits with a type _other_ than the common ones is treated as a patch release.
  • Loading branch information
line-o committed Apr 19, 2024
1 parent fa91a6b commit 990f594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
["@semantic-release/commit-analyzer", {
"preset": "conventionalcommits",
"releaseRules": [
{ "type": "*", "release": "patch" }
{ "type": "!(fix|feat|build|chore|ci|docs|style|refactor|perf|test)", "release": "patch" }
]
}],
["@semantic-release/release-notes-generator", {
Expand Down

0 comments on commit 990f594

Please sign in to comment.