feat: automate brew tap publishing + upgrade to Go 1.27 - #25
Merged
Conversation
GoReleaser now pushes a cask to okfcli/homebrew-okf on every non-prerelease tag. The push uses a short-lived GitHub App installation token minted in the release workflow (Contents read/write on the tap repo only); the default Actions token cannot push to a second repo. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KuW9gYCf2iURYquY2S6bMq
Bump go.mod to 1.27.0 and move CI/release workflows to 1.27.x. Build, vet, race tests, and golangci-lint all pass on 1.27.0. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KuW9gYCf2iURYquY2S6bMq
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.
What
okfcask tookfcli/homebrew-okfon every non-prerelease tag. The push uses a short-lived GitHub App installation token minted in the release workflow viaactions/create-github-app-token(needs theTAP_APP_CLIENT_IDvariable andTAP_APP_PRIVATE_KEYsecret; the App has Contents read/write on the tap repo only). The cask strips the Gatekeeper quarantine bit on macOS since binaries are unsigned.go.modbumped to 1.27.0, CI and release workflows moved to1.27.x.Verification
go build ./...,go vet ./...,go test -race ./...all pass on go1.27.0 darwin/arm64golangci-lint run: 0 issuesgoreleaser check: config valid🤖 Generated with Claude Code
https://claude.ai/code/session_01KuW9gYCf2iURYquY2S6bMq