Skip to content

chore: mark prerelease tags automatically in GoReleaser - #232

Merged
yvonnedevlinrh merged 1 commit into
unbound-force:mainfrom
yvonnedevlinrh:chore/goreleaser-prerelease-auto
Aug 24, 2026
Merged

chore: mark prerelease tags automatically in GoReleaser#232
yvonnedevlinrh merged 1 commit into
unbound-force:mainfrom
yvonnedevlinrh:chore/goreleaser-prerelease-auto

Conversation

@yvonnedevlinrh

Copy link
Copy Markdown
Contributor

Summary

Add prerelease: auto to .goreleaser.yaml so GoReleaser automatically detects semver prerelease suffixes (-rc.N, -alpha.N, -beta.N) and sets the GitHub release prerelease flag accordingly.

Problem

The v1.7.0-rc.1 release was published as a full release despite having a prerelease suffix. This means brew upgrade would install it as the latest stable version, and the GitHub releases page shows it alongside stable releases without distinction.

Change

One-line addition to the existing release: block in .goreleaser.yaml.Stable tags (e.g., v1.7.0) continue to be marked as full releases.

Add prerelease: auto to release config so GoReleaser detects
semver prerelease suffixes (-rc, -alpha, -beta) and sets the
GitHub release prerelease flag accordingly.

@em-redhat em-redhat left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@yvonnedevlinrh
yvonnedevlinrh merged commit fb20fb4 into unbound-force:main Aug 24, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready for Review 👀

Development

Successfully merging this pull request may close these issues.

3 participants