Skip to content

Fix release tags pointing at the wrong commit - #37

Merged
oskaresparza merged 1 commit into
developmentfrom
debug_library
Aug 14, 2026
Merged

Fix release tags pointing at the wrong commit#37
oskaresparza merged 1 commit into
developmentfrom
debug_library

Conversation

@oskaresparza

Copy link
Copy Markdown
Collaborator

softprops/action-gh-release defaults target_commitish to the repo's default branch when unset, not to the branch that triggered the run — so the version-bump and README-sync commits pushed by earlier steps in this same job were silently excluded from the tagged release. Both v0.1.9 and v0.1.9-staging ended up pointing at the same stale commit instead of their respective branch's actual tip.

Set target_commitish to github.ref_name so the release tag always lands on this branch's current tip, matching the floating main/staging alias tag.

softprops/action-gh-release defaults target_commitish to the repo's
default branch when unset, not to the branch that triggered the run —
so the version-bump and README-sync commits pushed by earlier steps in
this same job were silently excluded from the tagged release. Both
v0.1.9 and v0.1.9-staging ended up pointing at the same stale commit
instead of their respective branch's actual tip.

Set target_commitish to github.ref_name so the release tag always
lands on this branch's current tip, matching the floating main/staging
alias tag.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@oskaresparza
oskaresparza merged commit da79bfb into development Aug 14, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant