diff --git a/release.config.js b/release.config.js index 6806ac9..9b287bd 100644 --- a/release.config.js +++ b/release.config.js @@ -1,6 +1,6 @@ module.exports = { debug: true, - branches: 'release', + branches: 'master', verifyConditions: [ '@semantic-release/changelog', '@semantic-release/github', @@ -17,5 +17,13 @@ module.exports = { ], success: [ '@semantic-release/github' - ] + ], + releaseRules: [ + { breaking: true, release: 'major' }, + { revert: true, release: 'patch' }, + { type: 'feat', release: 'minor' }, + { type: 'fix', release: 'patch' }, + { type: 'perf', release: 'patch' }, + { type: 'chore', release: 'patch' } + ], }