From fc49ce09c96cf91d92003af35be1c1d9b26a784d Mon Sep 17 00:00:00 2001 From: Andrei Taranik Date: Sat, 23 May 2026 13:16:29 +0300 Subject: [PATCH] build(release): goreleaser homebrew_casks.skip_upload false -> auto Now that v0.1.0 stable is out, future pre-release tags (-rc.N, -beta.N, -alpha.N) should not push to the homebrew tap and bump brew users off the stable release mid-cycle. `auto` mode keeps publishing stable tags (v0.1.X, v1.0, ...) while skipping any semver pre-release suffix. --- .goreleaser.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index bb238d1..3047369 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -108,10 +108,11 @@ homebrew_casks: if OS.mac? system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/remetric"] end - # Publish on every tag, including pre-releases (v0.1.0-rc.N), so we can - # validate the tap end-to-end before v0.1.0. Switch to `auto` post-v0.1 - # if you want to stop polluting the tap with alphas. - skip_upload: "false" + # Publish stable tags (v0.1.0, v0.1.1, v1.0, ...) but skip + # pre-releases (v0.X.Y-rc.N, -beta.N, -alpha.N). This keeps the + # tap pointing at the latest stable so brew users don't get + # bumped onto an RC mid-cycle. + skip_upload: "auto" release: prerelease: auto