Print Homebrew cask fields after a release - #9
Merged
Conversation
The cask in LucaGerlich/homebrew-tap needs the new version and the DMG's sha256 after every release. The script now prints both, so updating it is a two-line edit instead of a manual checksum hunt.
There was a problem hiding this comment.
Pull request overview
This pull request improves the release workflow by printing the Homebrew Cask fields (version and sha256) for the generated DMG at the end of Scripts/release.sh, reducing manual work when updating the separate LucaGerlich/homebrew-tap repository after each release.
Changes:
- Compute the DMG’s SHA-256 hash during the release script run.
- Print a concise “Homebrew cask update” snippet (
version,sha256) for easy copy/paste intoCasks/inputpilot.rb. - Update the release checklist to include a dedicated Homebrew cask update step (and renumber subsequent steps).
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
InputPilot is now installable via a personal tap:
Each release needs the cask's
versionandsha256updated in LucaGerlich/homebrew-tap.release.shnow prints both at the end, next to the existing checklist, so it is a two-line edit rather than a manual checksum hunt.Verified: the cask passes
brew styleandbrew audit --onlinewith no offenses, andbrew install --caskinstalls a working, notarized 1.0.1 that Gatekeeper accepts.