Skip to content

ci: select explicit release tag - #1204

Draft
chaptersix wants to merge 2 commits into
temporalio:mainfrom
chaptersix:codex/release-explicit-tag
Draft

ci: select explicit release tag#1204
chaptersix wants to merge 2 commits into
temporalio:mainfrom
chaptersix:codex/release-explicit-tag

Conversation

@chaptersix

Copy link
Copy Markdown
Contributor

Related issues

Follow-up to the v1.9.0 release asset build.

What changed?

GoReleaser chooses the first version-sorted tag pointing at HEAD. When both v1.9.0-rc.1 and v1.9.0 point at the same commit, it selects the RC tag even when the workflow was triggered by publishing the final release.

This change passes the GitHub release tag directly to GoReleaser. Manual workflow runs now require the intended tag, check out that tag, and pass it to GoReleaser as well. This allows the v1.9.0 assets to be rebuilt without deleting or moving the RC tag.

Validation

  • git diff --check
  • Confirmed both v1.9.0 and v1.9.0-rc.1 point at commit 2ecba7d58c1a2a648791e34af0b80e5331f3dab3
  • Reproduced GoReleaser's --sort=-version:refname ordering, which places v1.9.0-rc.1 before v1.9.0

Follow-up

After merge, manually dispatch the Release workflow with tag set to v1.9.0.

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