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:
Kai (Tam Nhu) Tran authored and GitHub committed 2026-03-27 15:27:01 -04:00
commit 67711dc748
1 file changed
+2
+2
View File
@@ -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' },