Skip to content

fix: carry Linux support through Homebrew cask generation - #156

Merged
zhengchaol merged 1 commit into
mainfrom
homebrew-linux-template
Aug 31, 2026
Merged

fix: carry Linux support through Homebrew cask generation#156
zhengchaol merged 1 commit into
mainfrom
homebrew-linux-template

Conversation

@zhengchaol

Copy link
Copy Markdown
Contributor

The tap's Casks/parallel-cli.rb is regenerated from homebrew/parallel-cli.rb by the publish-homebrew job on every release, so the Linux support merged in parallel-web/homebrew-tap#1 would be silently reverted by the next version bump.

This carries that change through generation:

  • homebrew/parallel-cli.rb: mirror the merged cask — on_macos/on_linux blocks with per-arch URL/sha256 placeholders, and the quarantine-stripping xattr preflight now runs only on macOS
  • scripts/update-homebrew-formula.py: add linux-arm64/linux-x64 to PLATFORMS
  • .github/workflows/release.yml: download the two Linux checksums in publish-homebrew (both platforms are already in the release build matrix, so the assets always exist)

Verification: ran the updated generator against the real v0.9.3 checksums through both code paths (--checksums-dir as CI uses, and the release-fetch fallback) — output is byte-identical to the currently-merged tap cask, and brew style passes on it. The next release bump will produce a clean version/hash-only diff instead of reverting Linux support.

🤖 Generated with Claude Code

The tap's Casks/parallel-cli.rb is regenerated from homebrew/parallel-cli.rb
on every release, so parallel-web/homebrew-tap#1 (Linux support) would be
reverted by the next release bump. Mirror that cask in the template
(on_macos/on_linux blocks, macOS-only xattr preflight), add the linux
platforms to the generator's PLATFORMS map, and download their checksums
in the publish-homebrew job.

Verified: the updated generator reproduces the currently-merged tap cask
byte-for-byte for v0.9.3.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@zhengchaol
zhengchaol requested a review from a team August 31, 2026 01:38
@zhengchaol
zhengchaol merged commit 394babd into main Aug 31, 2026
7 checks passed
@zhengchaol
zhengchaol deleted the homebrew-linux-template branch August 31, 2026 01:40
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