Skip to content

Release the pushed tag, not an RC on the same commit - #8

Open
Ilyes512 wants to merge 1 commit into
mainfrom
fix/release-current-tag
Open

Ilyes512 wants to merge 1 commit into
mainfrom
fix/release-current-tag

Conversation

@Ilyes512

@Ilyes512 Ilyes512 commented Nov 1, 2026

Copy link
Copy Markdown
Member

A final release tagged on the same commit as its last release candidate carries both tags. goreleaser then picks the RC as the current tag, tries to upload into the existing RC release, and fails with 422 already_exists — this happened in specsnl/gh-release-changes (run), fixed there in specsnl/gh-release-changes#24.

Summary

  • release.yml: set GORELEASER_CURRENT_TAG to github.ref_name, so goreleaser releases the tag that triggered the run

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