Skip to content

Add Homebrew tap publishing - #30

Closed
simonxabris wants to merge 2 commits into
mainfrom
feat/homebrew-tap
Closed

simonxabris wants to merge 2 commits into
mainfrom
feat/homebrew-tap

Conversation

@simonxabris

Copy link
Copy Markdown
Contributor

Enable distribution through brew install polarsource/tap/polar. Stable tagged releases generate a formula from their checksums and open an update PR in polarsource/homebrew-tap; maintainers merge that PR to publish the version. A manual workflow supports retries. Draft releases and prerelease tags are excluded.

  • Package the existing signed/notarized macOS arm64/x64 binaries and Linux x64 binary without requiring Bun.
  • Detect Homebrew installations through the resolved keg receipt. polar update recommends brew upgrade polarsource/tap/polar before downloading, replacing binaries, or clearing authentication; background GitHub update checks are skipped.
  • Add generator validation, a compiled updater regression test, and macOS/Linux Homebrew installation checks.

Activation: Create the public polarsource/homebrew-tap repository with an initial commit and configure HOMEBREW_TAP_TOKEN with scoped Contents and Pull requests write access before the first release. Publish a new release containing the updater guard, then merge its generated tap PR. Full setup and retry instructions are in docs/homebrew.md.

Validation: bun run typecheck; all 28 tests passed; actionlint passed for all workflows; generated a formula from the published v2.0.0 checksums and successfully installed/tested it on macOS arm64 with Homebrew style and strict audit passing. macOS/Linux GitHub Actions checks will run on this PR. Cross-repository publishing requires the activation setup above and has not been run.

@simonxabris simonxabris closed this Oct 1, 2026
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.

1 participant