mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-11 12:09:03 +00:00
Merge pull request #824 from kaitranntt/kai/hotfix-releaserc-hotfix-type
hotfix: add hotfix commit type to semantic-release config
This commit is contained in:
1 file changed
+2
@@ -20,6 +20,7 @@ const commitAnalyzer = [
|
||||
{
|
||||
preset: 'conventionalcommits',
|
||||
releaseRules: [
|
||||
{ type: 'hotfix', release: 'patch' },
|
||||
{ type: 'docs', scope: 'README', release: 'patch' },
|
||||
{ type: 'refactor', release: 'patch' },
|
||||
{ type: 'style', release: 'patch' },
|
||||
@@ -35,6 +36,7 @@ const releaseNotesGenerator = [
|
||||
types: [
|
||||
{ type: 'feat', section: 'Features' },
|
||||
{ type: 'fix', section: 'Bug Fixes' },
|
||||
{ type: 'hotfix', section: 'Hotfixes' },
|
||||
{ type: 'docs', section: 'Documentation' },
|
||||
{ type: 'style', section: 'Styles' },
|
||||
{ type: 'refactor', section: 'Code Refactoring' },
|
||||
|
||||
Reference in new issue
Block a user