Skip to content

feat: add Homebrew Cask distribution for macOS#186

Merged
erans merged 3 commits intomainfrom
feat/homebrew-cask-distribution
Apr 1, 2026
Merged

feat: add Homebrew Cask distribution for macOS#186
erans merged 3 commits intomainfrom
feat/homebrew-cask-distribution

Conversation

@erans
Copy link
Copy Markdown
Collaborator

@erans erans commented Apr 1, 2026

Summary

  • Add Homebrew cask template (scripts/homebrew-cask.rb.tmpl) for macOS AgentSH.app distribution
  • Add publish-homebrew-cask job to release pipeline that auto-publishes the cask formula to canyonroad/homebrew-tap on stable releases
  • Remove disabled GoReleaser homebrew_casks config (replaced by the workflow job)

After merge, users install with:

brew tap canyonroad/tap
brew install --cask agentsh

Prerequisites

Before testing end-to-end:

  • Create canyonroad/homebrew-tap public repo on GitHub
  • Create PAT with repo scope for that repo
  • Add HOMEBREW_TAP_GITHUB_TOKEN secret in canyonroad/agentsh

Test plan

  • Merge and tag a stable release (e.g. v0.16.11)
  • Verify publish-homebrew-cask job runs and pushes formula to tap repo
  • Verify brew tap canyonroad/tap && brew install --cask agentsh installs AgentSH.app
  • Verify brew uninstall --cask agentsh cleans up correctly

🤖 Generated with Claude Code

erans and others added 3 commits March 31, 2026 21:20
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.
@erans erans merged commit a5508c7 into main Apr 1, 2026
4 checks passed
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