-
Notifications
You must be signed in to change notification settings - Fork 2
Homebrew Packaging
Alex Stoyanov edited this page Mar 2, 2026
·
1 revision
This page is maintainer guidance for Homebrew distribution.
Ethernity supports Homebrew on:
- macOS x64
- macOS arm64
- Linux x64
- Linux arm64
The supported path is tap/source-formula distribution, with bottle automation where available.
brew tap minorglitch/tap
brew install ethernityIf the tap is already configured and no conflicting formula exists, brew install ethernity is
usually enough.
- Workflow:
.github/workflows/homebrew-tap.yml - Formula generator:
scripts/generate_homebrew_source_formula.py - Bottle block updater:
scripts/update_homebrew_bottle_block.py
The workflow is triggered on release/tag events (and manual dispatch), then updates tap formula and bottle metadata.
- Secret:
HOMEBREW_TAP_TOKEN(push access to tap repo) - Optional variable:
HOMEBREW_TAP_REPO(defaults tominorglitch/homebrew-tap)
- Ensure release tag and project version are aligned.
- Confirm release artifacts are available for expected variant matrix.
- Trigger/verify tap workflow completion.
- Confirm formula update in tap repo (
Formula/ethernity.rb). - Confirm bottle assets are published and checksums are updated.
brew tap-new <you>/local-ethernity-test --no-git
cp scripts/homebrew_ethernity_tap.rb "$(brew --repo <you>/local-ethernity-test)/Formula/ethernity.rb"
brew install --build-from-source <you>/local-ethernity-test/ethernity
brew test ethernity
brew untap <you>/local-ethernity-test- Missing tap token or insufficient permissions.
- Tag/version mismatch between workflow and released artifacts.
- Bottle checksums not updated after artifact regeneration.