@@ -88,9 +88,9 @@ For each commit line, extract:
8888- ** Commit hash** (first 7 characters)
8989- ** Commit type** (feat, fix, docs, refactor, perf, chore, test, ci, build, style)
9090- ** Scope** (optional, in parentheses)
91- - ** Breaking change indicator** (` ! ` before ` : ` )
92- - ** Description** (after ` : ` )
93- - ** PR reference** (look for ` (#123) ` pattern)
91+ - ** Breaking change indicator** (exclamation mark before colon )
92+ - ** Description** (after colon )
93+ - ** PR reference** (look for PR number pattern)
9494
9595** Example parsing** :
9696```
@@ -128,8 +128,8 @@ commits = [
128128** Rules** (Conventional Commits):
129129
1301301 . ** MAJOR bump** if ANY commit has:
131- - ` BREAKING CHANGE: ` in commit body/footer, OR
132- - ` ! ` before ` : ` (e.g., ` feat!: ` , ` fix!: ` )
131+ - BREAKING CHANGE in commit body/footer, OR
132+ - Exclamation mark before colon (e.g., feat!, fix!)
133133
1341342 . ** MINOR bump** if (and no MAJOR):
135135 - ANY ` feat: ` commits exist
@@ -192,7 +192,7 @@ If no PR reference, omit PR link. Always include commit hash link.
192192
193193** Breaking changes** :
194194
195- Collect all breaking changes (commits with ` ! ` or ` BREAKING CHANGE: ` ) and add to the top of the relevant section with ⚠️:
195+ Collect all breaking changes (commits with exclamation mark or BREAKING CHANGE) and add to the top of the relevant section with ⚠️:
196196
197197``` markdown
198198- ⚠️ ** BREAKING** : Description of breaking change
@@ -352,17 +352,13 @@ git push origin vNEW_VERSION
352352** Create GitHub release** :
353353
354354``` bash
355- gh release create vNEW_VERSION \
356- --title " vNEW_VERSION" \
357- --notes-file /tmp/release-notes-NEW_VERSION.md \
358- --generate-notes
355+ gh release create vNEW_VERSION --title " vNEW_VERSION" --notes-file /tmp/release-notes-NEW_VERSION.md
359356```
360357
361358** Flags explained** :
362359- ` vNEW_VERSION ` : Tag name (must already exist from step 9)
363360- ` --title ` : Release title shown on GitHub
364361- ` --notes-file ` : Release body (our changelog entry + links)
365- - ` --generate-notes ` : GitHub auto-generates additional notes from PRs
366362
367363** Capture release URL** :
368364
0 commit comments