Skip to content

Commit

Permalink
chore: update semantic-release configuration (#410)
Browse files Browse the repository at this point in the history
Release new patch versions for "refactor" and "docs" commits.
  • Loading branch information
piotr-oles committed May 16, 2020
1 parent 8cb608a commit 07c31ef
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,21 @@ module.exports = {
}
],
plugins: [
'@semantic-release/commit-analyzer',
[
'@semantic-release/commit-analyzer',
{
preset: 'angular',
releaseRules: [
{ breaking: true, release: 'major' },
{ revert: true, release: 'patch' },
{ type: 'feat', release: 'minor' },
{ type: 'fix', release: 'patch' },
{ type: 'perf', release: 'patch' },
{ type: 'refactor', release: 'patch' },
{ type: 'docs', release: 'patch' }
]
}
],
'@semantic-release/release-notes-generator',
'@semantic-release/npm',
'@semantic-release/github'
Expand Down

0 comments on commit 07c31ef

Please sign in to comment.