Skip to content

Commit a5640c8

Browse files
authored
chore: add v6.2.2 changelog and use CHANGELOG.md for GH release notes (#2127)
Update publish workflow to extract release notes from CHANGELOG.md instead of using --generate-notes, with fallback if no entry found.
1 parent 6dd0a97 commit a5640c8

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,18 @@ jobs:
120120
if: github.event_name == 'workflow_dispatch' && inputs.channel == 'latest'
121121
run: |
122122
TAG="v$(node -p 'require("./package.json").version')"
123-
gh release create "$TAG" --generate-notes
123+
VERSION="${TAG#v}"
124+
# Extract the current version's section from CHANGELOG.md
125+
BODY=$(awk -v ver="$VERSION" '
126+
/^## v/ { if (found) exit; if (index($0, "## v" ver)) found=1; next }
127+
found { print }
128+
' CHANGELOG.md)
129+
if [ -z "$BODY" ]; then
130+
echo "::warning::No CHANGELOG.md entry for $TAG — falling back to auto-generated notes"
131+
gh release create "$TAG" --generate-notes
132+
else
133+
gh release create "$TAG" --notes "$BODY"
134+
fi
124135
env:
125136
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
126137

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## v6.2.2 - 2026-03-25
4+
5+
### ♻️ Refactoring
6+
7+
* Modernize module-help CSV to 13-column format with `after`/`before` dependency graph replacing sequence numbers (#2120)
8+
* Rewrite bmad-help from procedural 8-step execution to outcome-based skill design (~50% shorter) (#2120)
9+
10+
### 🐛 Bug Fixes
11+
12+
* Update bmad-builder module-definition path from `src/module.yaml` to `skills/module.yaml` for bmad-builder v1.2.0 compatibility (#2126)
13+
* Fix eslint config to ignore gitignored lock files (#2120)
14+
15+
### 📚 Documentation
16+
17+
* Close Epic 4.5 explanation gaps in Chinese (zh-CN): normalize command naming to current `bmad-*` convention and add cross-links across 9 explanation pages (#2102)
18+
319
## v6.2.1 - 2026-03-24
420

521
### 🎁 Highlights

0 commit comments

Comments
 (0)