feat: add Homebrew cask for install#20
Merged
Merged
Conversation
Ship a Homebrew Cask (Casks/reader-md.rb) so the app installs via `brew install --cask reader-md` after tapping the repo. The cask points at the release DMG, marks auto_updates (Sparkle owns upgrades), and carries a GitHub livecheck + zap stanza. release.sh now rewrites the cask's version and DMG sha256 on each release and commits it, so the tap tracks releases automatically. README documents the Homebrew and direct-download install paths; the release skill notes the new step. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014pNnejYExL1PVYmSjkgANE
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
Adds Homebrew support so Reader.md can be installed with
brew.Casks/reader-md.rb— a Homebrew Cask pinned to the current release (v1.5.0) with the DMG's verifiedsha256. It installsReader.md.app, marksauto_updates trueso the app's own Sparkle updater owns upgrades (Homebrew won't replace a Sparkle-updated build), requires macOS 13+ (:ventura), and adds agithub_latestlivecheckplus azapstanza for a clean uninstall.release.sh— after uploading the release, rewrites the cask'sversionandsha256from the exact DMG just published and commits it (chore: update Homebrew cask …), so the tap tracks each release with nothing to bump by hand.README.md— new Install section documenting both the Homebrew path and the direct DMG download.releaseskill — notes the new automated cask step and adds it to the "what goes missing" table.Because the repo isn't named
homebrew-*, users tap it once with its explicit URL:Related issue
Closes #
Testing
There's no test target; this change is packaging/docs only (no app runtime surface).
ruby -c Casks/reader-md.rb— syntax OKbash -n release.sh— syntax OKsha256matches the publishedReader.md.dmgby downloading it and runningshasum -a 256(cdd7b8dc…f18585)brew install --caskon a macOS machine (requires Homebrew; not available in CI env)Checklist
AppState— N/A, no Swift changes🤖 Generated with Claude Code
https://claude.ai/code/session_014pNnejYExL1PVYmSjkgANE
Generated by Claude Code