Skip to content

Switch Homebrew to source-based formula#13

Merged
quinnmil merged 1 commit intomainfrom
12-homebrew-build-from-source
Apr 2, 2026
Merged

Switch Homebrew to source-based formula#13
quinnmil merged 1 commit intomainfrom
12-homebrew-build-from-source

Conversation

@quinnmil
Copy link
Copy Markdown
Contributor

@quinnmil quinnmil commented Mar 31, 2026

Summary

  • Replaces the pre-built binary cask with a source-based Formula that runs go build during brew install
  • Avoids macOS Gatekeeper "Apple could not verify" errors on unsigned binaries
  • Adds a formula template at homebrew/scout-cli.rb.template and a release workflow step to push it to scoutapp/homebrew-tap

Test plan

  • Verify goreleaser release --clean still builds archives and GitHub releases correctly
  • Verify the release workflow pushes the formula to scoutapp/homebrew-tap under Formula/
  • Verify brew install scoutapp/tap/scout-cli builds from source and runs without Gatekeeper errors

Closes #12

🤖 Generated with Claude Code

Build from source during `brew install` to avoid macOS Gatekeeper
"Apple could not verify" errors on unsigned binaries.

- Remove homebrew_casks from .goreleaser.yaml
- Add release workflow step to push a Formula to homebrew-tap
- Add homebrew/scout-cli.rb.template for the source-based formula

Closes #12

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@quinnmil quinnmil linked an issue Mar 31, 2026 that may be closed by this pull request
@quinnmil quinnmil merged commit 98d534a into main Apr 2, 2026
2 checks passed
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.

Build from source for homebrew

2 participants