feat: coaching-context tools (0.3.0) #6

Merged
Chris Farhood merged 10 commits from feat/coaching-context into main 2026-07-20 20:44:31 +00:00
Showing only changes of commit 95d7681b03 - Show all commits
+3 -1
View File
@@ -85,7 +85,9 @@ jobs:
run: |
v="${{ steps.bump.outputs.version }}"
# Body = this version's section from CHANGELOG.md (fallback to a stub).
body=$(awk "/^## \\[$v\\]/{f=1;next} /^## \\[/{f=0} f" CHANGELOG.md)
# Commitizen writes headings as "## vX.Y.Z (date)", so match that form
# (not the Keep-a-Changelog "## [X.Y.Z]" brackets) and stop at the next.
body=$(awk "/^## v$v/{f=1;next} /^## v/{f=0} f" CHANGELOG.md)
[ -z "$body" ] && body="Release v$v"
jq -n --arg tag "v$v" --arg name "v$v" --arg body "$body" \
'{tag_name:$tag, name:$name, body:$body, draft:false, prerelease:false}' \