From 0473f636237a4e7e808a576eb75525d7ed8d929b Mon Sep 17 00:00:00 2001 From: Tam Nhu Tran Date: Fri, 27 Mar 2026 15:03:49 -0400 Subject: [PATCH] hotfix: add hotfix commit type to semantic-release config - Add hotfix type to releaseRules (triggers patch release) - Add Hotfixes section to release notes generator - Without this, hotfix: commits are silently ignored by semantic-release --- .releaserc.cjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.releaserc.cjs b/.releaserc.cjs index ff0273aa..af593fa8 100644 --- a/.releaserc.cjs +++ b/.releaserc.cjs @@ -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' },