fix(release): auto-update Homebrew cask on release#367
Draft
tjsingleton wants to merge 1 commit intosmart-mcp-proxy:mainfrom
Draft
fix(release): auto-update Homebrew cask on release#367tjsingleton wants to merge 1 commit intosmart-mcp-proxy:mainfrom
tjsingleton wants to merge 1 commit intosmart-mcp-proxy:mainfrom
Conversation
Add two steps to the update-homebrew job: - Download both darwin installer DMGs and compute their SHA256s - Patch Casks/mcpproxy.rb with the new version and hashes Previously only Formula/mcpproxy.rb was updated automatically; the cask was stuck at v0.20.2 while the formula was at v0.23.1. Fixes smart-mcp-proxy#366 Co-Authored-By: Claude Sonnet 4.6 <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.
Closes #366
Problem
The
update-homebrewjob only updatesFormula/mcpproxy.rb(CLI tarballs).Casks/mcpproxy.rb(macOS DMG / tray app) was never touched, leaving it stranded at v0.20.2 while the formula reached v0.23.1.Fix
Two new steps added to the existing
update-homebrewjob:Download installer DMGs and calculate SHA256 for cask — downloads
mcpproxy-{version}-darwin-{arm64,amd64}-installer.dmgwith the same retry logic used for tarballs, exportsSHA256_CASK_ARM64andSHA256_CASK_AMD64env vars.Update Homebrew cask — patches
Casks/mcpproxy.rbin-place: bumpsversionand replaces bothsha256values. Skips gracefully if the cask file doesn't exist.The existing Commit and push changes step is updated to also stage
Casks/mcpproxy.rb.Notes
HOMEBREW_TAP_TOKENreleasejob beforeupdate-homebrewruns, so they should be available🤖 Generated with Claude Code