feat: add Homebrew cask distribution#65
Merged
NormallyGaussian merged 2 commits intomainfrom Mar 11, 2026
Merged
Conversation
Add Homebrew tap support so users can install with: brew install parallel-web/tap/parallel-cli - Add cask template at homebrew/parallel-cli.rb - Add script to generate cask with real SHA256 checksums from releases - Add publish-homebrew job to release.yml (stable releases only, skips RCs) - Update README and MAINTAINERS.md with Homebrew install instructions
Pass event inputs via env vars instead of inline ${{ }} interpolation
in shell run blocks, preventing potential command injection via
crafted tag names.
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.
Summary
brew install parallel-web/tap/parallel-clihomebrew/parallel-cli.rbwith quarantine stripping (no Apple Developer account needed)scripts/update-homebrew-formula.py) generates cask with real SHA256 checksums from GitHub releasespublish-homebrewjob inrelease.ymlauto-updates the tap on stable releases (skips RCs)Tested locally against v0.1.2 — fresh download, install, version check, and live API call all passed with no Gatekeeper popup.
Steps to activate
1. Create the tap repo
Create
parallel-web/homebrew-tapon GitHub:mainbranch)Casks/directory with an initialparallel-cli.rb(the CI will overwrite it on first release, or you can seed it manually — see step 3)2. Add the
HOMEBREW_TAP_TOKENsecretCreate a GitHub fine-grained PAT (or classic PAT with
reposcope) that has write access toparallel-web/homebrew-tap.Then add it as a secret in this repo (
parallel-web/parallel-web-tools):HOMEBREW_TAP_TOKENwith the PAT value3. Seed the tap with v0.1.2 (optional)
To make Homebrew work before the next release, generate and push the cask for the current release:
4. Verify
After this, every future stable release will automatically update the cask in the tap.
Test plan
parallel-cli --versionreturns0.1.2parallel-cli searchworks end-to-endpublish-homebrewjob runs on next stable release