Problem
The v0.2.2 release shows the commit message instead of the annotated tag message in the GitHub release notes.
The annotated tag had detailed release notes:
Release 0.2.2
Updates Scalagent to support Claude Agent SDK 0.2.22.
**New Message Types:**
- TaskNotification: Task/subagent completion notifications
- ToolUseSummary: Aggregate tool use information
...
But the release shows:
chore(release): Bump version to 0.2.2
Root Cause
The release workflow is missing git fetch --tags --force before extracting the tag message. Without this, the annotated tag content isn't available in the shallow checkout.
Fix
Add the fetch step before version extraction, matching the pattern in xl's release.yml:
- name: Fetch annotated tags
run: git fetch --tags --force
- name: Extract and validate version
...
Files to Modify
.github/workflows/release.yml - Add fetch step around line 57
Problem
The v0.2.2 release shows the commit message instead of the annotated tag message in the GitHub release notes.
The annotated tag had detailed release notes:
But the release shows:
Root Cause
The release workflow is missing
git fetch --tags --forcebefore extracting the tag message. Without this, the annotated tag content isn't available in the shallow checkout.Fix
Add the fetch step before version extraction, matching the pattern in xl's release.yml:
Files to Modify
.github/workflows/release.yml- Add fetch step around line 57