Skip to content

feat: add Homebrew cask for install#20

Merged
jnahian merged 1 commit into
mainfrom
claude/homebrew-install-support-dqkgfy
Jul 9, 2026
Merged

feat: add Homebrew cask for install#20
jnahian merged 1 commit into
mainfrom
claude/homebrew-install-support-dqkgfy

Conversation

@jnahian

@jnahian jnahian commented Jul 9, 2026

Copy link
Copy Markdown
Owner

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 verified sha256. It installs Reader.md.app, marks auto_updates true so the app's own Sparkle updater owns upgrades (Homebrew won't replace a Sparkle-updated build), requires macOS 13+ (:ventura), and adds a github_latest livecheck plus a zap stanza for a clean uninstall.
  • release.sh — after uploading the release, rewrites the cask's version and sha256 from 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.
  • release skill — 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:

brew tap jnahian/reader.md https://github.com/jnahian/reader.md
brew install --cask reader-md

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 OK
  • bash -n release.sh — syntax OK
  • Verified the cask's sha256 matches the published Reader.md.dmg by downloading it and running shasum -a 256 (cdd7b8dc…f18585)
  • brew install --cask on a macOS machine (requires Homebrew; not available in CI env)

Checklist

  • macOS 26-only APIs are guarded with a pre-26 fallback (deployment target is 13) — N/A, no Swift changes
  • Imperative actions follow the token-bump pattern on AppState — N/A, no Swift changes
  • Change is focused; matches surrounding code style

🤖 Generated with Claude Code

https://claude.ai/code/session_014pNnejYExL1PVYmSjkgANE


Generated by Claude Code

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
@jnahian jnahian marked this pull request as ready for review July 9, 2026 18:15
@jnahian jnahian merged commit 24c9273 into main Jul 9, 2026
1 check passed
@jnahian jnahian deleted the claude/homebrew-install-support-dqkgfy branch July 9, 2026 18:16
jnahian added a commit that referenced this pull request Jul 9, 2026
Rewrite the release notes from the merged PRs (#15#20) — the Unreleased
section had drifted and omitted footnotes, reading themes, the topbar
rework, and the Homebrew cask.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

2 participants