Skip to content

fix(ci): publish stamp shows stale version due to releases/latest API race #1134

Description

@pdmack

Summary

The publish workflow's stamp step queries the GitHub releases/latest API to get the version for the "Latest · vX.Y.Z" display name. On a tag push, the Release object may not exist yet, causing the stamp to show the previous release version.

Observed in run 26770200319: v0.14.0 publish stamped "Latest · v0.13.0".

Fix

Use the already-resolved tag from the earlier resolve step instead of the API call. The tag is always correct since it comes from the trigger event itself.

nvsentinel and topograph already use this pattern.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions