Skip to content

Pin GoReleaser to requested release tag - #112

Merged
pquerna merged 1 commit into
mainfrom
paul/pin-goreleaser-release-tag
Aug 25, 2026
Merged

Pin GoReleaser to requested release tag#112
pquerna merged 1 commit into
mainfrom
paul/pin-goreleaser-release-tag

Conversation

@c1-squire-dev

@c1-squire-dev c1-squire-dev Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Problem

When a prerelease and final tag point at one commit, GoReleaser auto-detects the prerelease tag. Production workflow runs then build prerelease-named assets and fail before distribution publication.

Change

Set GORELEASER_CURRENT_TAG from the reusable workflow tag input in binary, Windows, Public ECR, and Lambda GoReleaser invocations. Add a workflow test that guards every invocation.

Security impact

Artifact names, release metadata, and image digest files now derive from the verified workflow tag even when several tags identify the same source commit.

Verification

  • make test workflow-validate

Release recovery

The failed v0.0.42 and v0.5.1 attempts remain unused in dist. Replacement releases use new patch versions after this shared workflow patch is published.

Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
@pquerna
pquerna merged commit 64bf1c2 into main Aug 25, 2026
2 checks passed
@pquerna
pquerna deleted the paul/pin-goreleaser-release-tag branch August 25, 2026 23:04
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