Peel the annotated tag object in the release lane #44
No reviewers
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:fire
svd:go
svd:hold
svd:respec
svd:skip
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/people-mind-mcp!44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/41-annotated-tag-commit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
On a tag event Woodpecker sets
CI_COMMIT_SHAto the annotated tag object, not to the commit it tags. Thetagstep compared the peeled tag with that object, so every annotated release tag failed. Theimagestep also wrote the tag object into the revision label.Evidence
The tag step from each branch, run against the real
v0.1.0-rc.5tag (object623112439f56, commit8f84bf3), withCI_COMMIT_SHAset to the tag object as Woodpecker sets it:release: v0.1.0-rc.5 does not point at 623112439f56fcaee37f2ba628367320a6927a82; it moved after the push, exit 1.After (this branch):
release: v0.1.0-rc.5 at 8f84bf3adc53445eecb09b82f0a91984750ccef6 is an annotated tag on main, exit 0,.release/commit=8f84bf3.The peel is a no-op when
CI_COMMIT_SHAalready names a commit, so the check also holds if Woodpecker changes this behaviour.Merge Danger
Door: two-way
The change touches only the two release scripts, which run only on
v*tag events.Blast Radius: release-lane
No effect on validation runs or on the deployed service.
v0.1.0-rc.5stays unreleasable, because its tree predates this fix; the plan is to cutv0.1.0-rc.6on the merged main and deleterc.5.Refs #41
🤖 Generated with Claude Code