Created
June 9, 2022 12:58
-
-
Save xinatcg/18d079af2f4718799c02c7eedf18907b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Default `releaseRules` rules for common commit formats, following conventions. | |
* | |
* @type {Array} | |
*/ | |
module.exports = [ | |
{breaking: true, release: 'major'}, | |
{revert: true, release: 'patch'}, | |
// Angular | |
{type: 'feat', release: 'minor'}, | |
{type: 'fix', release: 'patch'}, | |
{type: 'perf', release: 'patch'}, | |
// Atom | |
{emoji: ':racehorse:', release: 'patch'}, | |
{emoji: ':bug:', release: 'patch'}, | |
{emoji: ':penguin:', release: 'patch'}, | |
{emoji: ':apple:', release: 'patch'}, | |
{emoji: ':checkered_flag:', release: 'patch'}, | |
// Ember | |
{tag: 'BUGFIX', release: 'patch'}, | |
{tag: 'FEATURE', release: 'minor'}, | |
{tag: 'SECURITY', release: 'patch'}, | |
// ESLint | |
{tag: 'Breaking', release: 'major'}, | |
{tag: 'Fix', release: 'patch'}, | |
{tag: 'Update', release: 'minor'}, | |
{tag: 'New', release: 'minor'}, | |
// Express | |
{component: 'perf', release: 'patch'}, | |
{component: 'deps', release: 'patch'}, | |
// JSHint | |
{type: 'FEAT', release: 'minor'}, | |
{type: 'FIX', release: 'patch'}, | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment