fix: carry Linux support through Homebrew cask generation - #156
Merged
Conversation
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>
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.
The tap's
Casks/parallel-cli.rbis regenerated fromhomebrew/parallel-cli.rbby thepublish-homebrewjob 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_linuxblocks with per-arch URL/sha256 placeholders, and the quarantine-strippingxattrpreflight now runs only on macOSscripts/update-homebrew-formula.py: addlinux-arm64/linux-x64toPLATFORMS.github/workflows/release.yml: download the two Linux checksums inpublish-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-diras CI uses, and the release-fetch fallback) — output is byte-identical to the currently-merged tap cask, andbrew stylepasses on it. The next release bump will produce a clean version/hash-only diff instead of reverting Linux support.🤖 Generated with Claude Code