Repository navigation
ci: publish Scoop and Homebrew packages with GoReleaser - #3
Closed
zhangzhenghao wants to merge 1 commit into
Closed
zhangzhenghao wants to merge 1 commit into
zhangzhenghao wants to merge 1 commit into
Conversation
zhangzhenghao
force-pushed
the
feat/scoop-publish
branch
from
October 23, 2026 15:01
36a8726 to
3ef26d0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bucket/gorse-cli.jsontogorse-io/scoop-bucketandFormula/gorse-cli.rbtogorse-io/homebrew-tapthrough GoReleaser after stable CLI releases.gorse-io/cli, skipping bucket/tap publication for prerelease tags.Required setup
Before the first release, add these Actions secrets to
gorse-io/cli:SCOOP_BUCKET_TOKEN: fine-grained PAT forgorse-io/scoop-bucket, Contents read/write and permission to push tomain.HOMEBREW_TAP_TOKEN: equivalent permission forgorse-io/homebrew-tap.Compatibility
Uses GoReleaser v2's deprecated but still supported
brewspublisher to update the existing Formula in place. Migrating the tap to Casks is outside this change.goreleaser checkreturns nonzero for this known deprecation; it reports the configuration as valid.Verification
actionlint: passed.git diff --check: passed.36a872642a2313d1247e04569db154a9751b3d5c(run 39970639622): tests, vet, build, installer shell syntax.goreleaser release --snapshot --clean --parallelism 2: passed; built all seven targets and generated both package-manager outputs. Snapshot started before the packaging commit, so its embedded SHA isacfa063; verified the tested configuration matches the committed files.--versionsmoke test: passed.