docs/releasing-homebrew.md
Homebrew is for the UI app via Cask. When installed via Homebrew, CodexBar disables Sparkle and shows a "update via brew" hint in About.
../homebrew-tap.Follow docs/RELEASING.md to publish CodexBar-macos-universal-<version>.zip to GitHub Releases.
After the GitHub release is published, .github/workflows/release-cli.yml builds the standalone CLI assets and dispatches steipete/homebrew-tap's update-formula.yml. That tap workflow updates both:
Casks/codexbar.rb for the app zip.Formula/codexbar.rb for the standalone CLI tarballs.If dispatch fails or is rate-limited, update the files manually.
In ../homebrew-tap, update the cask at Casks/codexbar.rb:
url points at the GitHub release asset: .../releases/download/v<version>/CodexBar-macos-universal-<version>.zipsha256 to match that zip.depends_on arch: :arm64 and depends_on macos: ">= :sonoma" (CodexBar is macOS 14+).In ../homebrew-tap, update the formula at Formula/codexbar.rb:
url points at the GitHub release assets:
.../releases/download/v<version>/CodexBarCLI-v<version>-macos-arm64.tar.gz.../releases/download/v<version>/CodexBarCLI-v<version>-macos-x86_64.tar.gz.../releases/download/v<version>/CodexBarCLI-v<version>-linux-aarch64.tar.gz.../releases/download/v<version>/CodexBarCLI-v<version>-linux-x86_64.tar.gzsha256 values to match those tarballs.brew uninstall --cask codexbar || true
brew untap steipete/tap || true
brew tap steipete/tap
brew install --cask steipete/tap/codexbar
open -a CodexBar
Commit + push in the tap repo.