Skip to content

fix(release): mark pre-release tags as GitHub pre-releases#149

Merged
mason-sharp merged 1 commit into
mainfrom
fix/goreleaser-prerelease-auto
Jul 16, 2026
Merged

fix(release): mark pre-release tags as GitHub pre-releases#149
mason-sharp merged 1 commit into
mainfrom
fix/goreleaser-prerelease-auto

Conversation

@maqeel75

Copy link
Copy Markdown
Member

GoReleaser's default (prerelease: false) publishes rc/beta/alpha tags as full GitHub releases, so GitHub stamps them "Latest" and pins them above the GA release in the releases list. Set prerelease: auto so tags with a semver pre-release component are flagged as pre-releases, matching the rc*/beta*/alpha* suffix routing already in release.yaml.

GoReleaser's default (prerelease: false) publishes rc/beta/alpha tags as
full GitHub releases, so GitHub stamps them "Latest" and pins them above
the GA release in the releases list. Set prerelease: auto so tags with a
semver pre-release component are flagged as pre-releases, matching the
rc*/beta*/alpha* suffix routing already in release.yaml.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0052d363-efc6-48c8-8e51-a51d5388db7e

📥 Commits

Reviewing files that changed from the base of the PR and between 3653ae2 and ddaaea8.

📒 Files selected for processing (1)
  • .goreleaser.yaml

📝 Walkthrough

Walkthrough

Changes

Release configuration

Layer / File(s) Summary
Pre-release classification
.goreleaser.yaml
Adds prerelease: auto so semver pre-release tags are marked as GitHub pre-releases, with explanatory comments.

Poem

I’m a rabbit in the release-night glow,
Watching little pre-release markers grow.
RC carrots hop into the queue,
Beta and alpha join them too.
“Latest” now knows just what to do! 🐇

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the release configuration change to mark pre-release tags as GitHub pre-releases.
Description check ✅ Passed The description accurately explains the GoReleaser prerelease:auto change and its effect on rc/beta/alpha tags.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/goreleaser-prerelease-auto

Comment @coderabbitai help to get the list of available commands.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@maqeel75
maqeel75 requested a review from mason-sharp July 16, 2026 20:46
@mason-sharp
mason-sharp merged commit 9e658ad into main Jul 16, 2026
3 checks passed
@maqeel75
maqeel75 deleted the fix/goreleaser-prerelease-auto branch July 17, 2026 18:38
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.

2 participants