Skip to content

Release workflow not using annotated tag message for release notes #10

@arcaputo3

Description

@arcaputo3

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions