diff --git a/.cz-config.js b/.cz-config.js index 76c53b1..33b3d51 100644 --- a/.cz-config.js +++ b/.cz-config.js @@ -13,6 +13,7 @@ module.exports = { { value: 'revert', name:'revert: 回滚 commit' }, { value: 'wip', name:'wip: 开发中' }, { value: 'mod', name:'mod: 不确定分类的修改' }, + { value: 'release', name:'release: 发布' }, ], scopes: [ ['custom', '自定义'], diff --git a/commitlint.config.js b/commitlint.config.js index afa52ac..3046313 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -5,7 +5,22 @@ module.exports = { 'type-enum': [ 2, 'always', - ['feat', 'fix', 'docs', 'style', 'refactor', 'perf', 'test', 'build', 'ci', 'chore', 'revert', 'wip', 'mod'], + [ + 'feat', + 'fix', + 'docs', + 'style', + 'refactor', + 'perf', + 'test', + 'build', + 'ci', + 'chore', + 'revert', + 'wip', + 'mod', + 'release', + ], ], }, }