Skip to content

Commit

Permalink
feat!: allow new major versions with Semantic Release (#522)
Browse files Browse the repository at this point in the history
feat: allow major & minor versions to be changed with Semantic Release
  • Loading branch information
dib542 authored Jan 23, 2024
1 parent 611c117 commit a198369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ module.exports = {
// see default rules: https://github.com/semantic-release/commit-analyzer/blob/master/lib/default-release-rules.js
releaseRules: [
// while in "alpha" mode don't increment the major version
{ breaking: true, release: 'minor' },
{ type: 'feat', release: 'patch' },
{ breaking: true, release: 'major' },
{ type: 'feat', release: 'minor' },
{ type: 'fix', release: 'patch' },
{ type: 'perf', release: 'patch' },
],
Expand Down

0 comments on commit a198369

Please sign in to comment.