Skip to content

Commit

Permalink
impr: Update release rules for semantic-release configuration
Browse files Browse the repository at this point in the history
Release should occur also for small incremental improvements.

Signed-off-by: Eden Reich <[email protected]>
  • Loading branch information
edenreich committed Nov 27, 2024
1 parent dc62b5d commit 1120b4c
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .releaserc.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
branches:
- main
plugins:
- '@semantic-release/commit-analyzer'
- [
'@semantic-release/commit-analyzer',
{
'preset': 'conventionalcommits',
'releaseRules':
[
{ type: 'feat', release: 'minor' },
{ type: 'impr', release: 'patch' },
{ type: 'refactor', release: 'patch' },
{ type: 'perf', release: 'patch' },
{ type: 'fix', release: 'patch' },
{ type: 'ci', release: 'patch' },
{ type: 'docs', release: 'patch' },
{ type: 'chore', release: 'patch' },
{ type: 'style', release: 'patch' },
{ type: 'test', release: 'patch' },
{ type: 'build', release: 'patch' },
],
},
]
- [
'@semantic-release/release-notes-generator',
{
Expand Down

0 comments on commit 1120b4c

Please sign in to comment.