Skip to content

Commit

Permalink
chore: add style commit tag release rule
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyxguo committed Sep 14, 2023
1 parent 856dd28 commit b15ce19
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion release.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
module.exports = {
branches: ['main'],
plugins: [
'@semantic-release/commit-analyzer',
[
'@semantic-release/commit-analyzer',
{
preset: 'angular',
releaseRules: [
{ type: 'refactor', release: 'patch' },
{ type: 'style', release: 'patch' }
]
}
],
'@semantic-release/release-notes-generator',
[
'@semantic-release/changelog',
Expand Down

0 comments on commit b15ce19

Please sign in to comment.