Add Homebrew tap support with automated formula generation - #2
Merged
mathieubrunpicard merged 1 commit intoSep 4, 2026
Conversation
Nothing rendered homebrew/pipecorn.rb.tmpl or pushed it anywhere, so the documented brew install had no tap behind it. Render the formula from the release tarballs and push it to pipecorn/homebrew-tap, which lets users install with a bare `brew install pipecorn` after tapping once. oclif stamps a commit sha into packed tarball names, so normalise them to pipecorn-v<version>-<target>.tar.gz first: the formula has to build its download URL from the version alone. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VJDs7niXGGW2dmPXd1e93S
mathieubrunpicard
merged commit Sep 4, 2026
c44659c
into
claude/youthful-dijkstra-O96Rg
2 checks passed
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
This PR adds automated Homebrew formula generation and publishing to the release workflow, enabling users to install pipecorn via
brew install pipecornfrom the official Homebrew tap.Key Changes
pipecorn-v<version>-<target>.tar.gz) that Homebrew can reference by version alonehomebrew/pipecorn.rb.tmplto support platform-specific URLs and checksums for macOS (arm64/x64) and Linux (arm64/x64) architecturesscripts/render-homebrew-formula.shthat generates the final Homebrew formula by:homebrewjob to the release workflow that:pipecorn/homebrew-taprepositoryImplementation Details
on_macos/on_linuxandon_arm/on_intelDSL for architecture-specific installationHOMEBREW_TAP_TOKENsecret for authenticationneeds: tarballsdependencyhttps://claude.ai/code/session_01VJDs7niXGGW2dmPXd1e93S