feat: add Homebrew Cask distribution for macOS#186
Merged
Conversation
Homebrew cask publishing is now handled by the publish-homebrew-cask job in release.yml, which publishes the signed DMG rather than raw CLI binaries. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Auto-publishes the Homebrew cask formula to canyonroad/homebrew-tap on stable releases (tags without pre-release suffix). Downloads the signed DMG, computes SHA256, generates the cask from template, and pushes to the tap repo.
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
scripts/homebrew-cask.rb.tmpl) for macOS AgentSH.app distributionpublish-homebrew-caskjob to release pipeline that auto-publishes the cask formula tocanyonroad/homebrew-tapon stable releaseshomebrew_casksconfig (replaced by the workflow job)After merge, users install with:
Prerequisites
Before testing end-to-end:
canyonroad/homebrew-tappublic repo on GitHubreposcope for that repoHOMEBREW_TAP_GITHUB_TOKENsecret incanyonroad/agentshTest plan
v0.16.11)publish-homebrew-caskjob runs and pushes formula to tap repobrew tap canyonroad/tap && brew install --cask agentshinstalls AgentSH.appbrew uninstall --cask agentshcleans up correctly🤖 Generated with Claude Code