Skip to content

Fix release tags pointing at the wrong commit - #35

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

Fix release tags pointing at the wrong commit#35
oskaresparza merged 1 commit into
stagingfrom
debug_library

Conversation

@oskaresparza

Copy link
Copy Markdown
Collaborator

Summary

  • 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 earlier in the 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: ${{ github.ref_name }} so the release tag always lands on the branch's current tip, matching the floating main/staging alias tag.

Test plan

  • YAML validated
  • After merge, confirm the next staging release's vX.Y.Z-staging tag and the staging alias tag point at the same commit (fixes the mismatch found on git+https://github.com/eeadata/EEALakeHouse.python.git@staging)

🤖 Generated with Claude Code

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 02514a5 into staging Aug 14, 2026
7 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