Repository navigation
Install: a Homebrew cask in dinooo13/homebrew-tap, bumped by the Release workflow - #115
Merged
Merged
Conversation
…ase workflow scripts/pladder.rb is the tap's Casks/pladder.rb without its version and SHA-256, and scripts/cask.sh fills them in. After the publish, release.yml commits the new cask to the tap through the contents API with HOMEBREW_TAP_TOKEN, a release environment secret; a draft is skipped and a failed bump leaves the run green. INSTALL.md, the README, the site's closing call and llms.txt name the brew command. The cask has no auto_updates: with it brew upgrade skips the app, and Pladder checks for updates by itself only when the user turns that on. Refs #112 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dinooo13
force-pushed
the
t3/homebrew-cask
branch
from
November 7, 2026 00:26
4af35f6 to
a73e88e
Compare
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.
Refs #112. This PR does not close it: two items on the "Done when" list can only be checked once the tap exists and a release has run.
What changes
scripts/pladder.rbis the tap'sCasks/pladder.rbwith@VERSION@and@SHA256@placeholders: the GitHub release URL,depends_on arch: :arm64,depends_on macos: :tahoe(Homebrew's style check rewrites">= :tahoe"to this, and it means the same thing),app "Pladder.app", alivecheckon the latest GitHub release,uninstall quit:by bundle ID (onbrew upgradeHomebrew quits Pladder, replaces it and opens it again), and azapstanza.scripts/cask.sh <version> [<sha256>]prints the cask. If no SHA-256 is given, it reads it from the release'sPladder.dmg.sha256.release.yml: a new step, Bump the Homebrew cask, after Publish. It writes the cask and commits it todinooo13/homebrew-tapwith onegh api PUTto the contents API, so nothing is cloned and no git credentials are configured. It usesHOMEBREW_TAP_TOKEN, areleaseenvironment secret. The step is skipped for drafts, because a draft's DMG is not public yet. It hascontinue-on-error, so a failed bump shows as a failed step but the run stays green: the release is already out. It is rebased onto the Sparkle release changes (In-app updates with Sparkle, automatic checks opt-in #111) and comes after the Publish step that uploadsappcast.xml.brew upgradeunder Updating, andbrew uninstall [--zap]under Uninstalling. It adds the secret to the table and a new "Homebrew" section covering the tap, the bump, bumping by hand, the token's scope, and auditing a change in a throwaway local tap. The README gives the brew line next to the DMG. CLAUDE.md gets the Distribution decision and the command..releaseline under the closing Download button, "With Homebrew:brew install --cask dinooo13/tap/pladder", in the mono font, muted, with no coral. llms.txt gets the same line. No version appears, so the site never goes stale, andcheck-site-numbers.shpasses. I checked it at 1280 px light and 375 px dark: the command wraps at a space, with no horizontal scroll.Why the cask's source is in this repository
Cask changes get reviewed here, and the tap changes only when there is a release.
No
auto_updates trueSparkle has now merged, but the cask still leaves this line out.
auto_updates truemakesbrew upgradeskip the app unless--greedy, and Pladder's automatic checks are off by default (CLAUDE.md, "Updates"). So most copies installed with Homebrew would never be updated. Without the line, a copy that Sparkle already updated gets the same version installed once more by the nextbrew upgrade. That costs a download and nothing else. If automatic checks ever become the default, the line can go intoscripts/pladder.rb.zap
These are the paths I found on a Mac running Pladder:
~/Library/Application Support/Pladder(settings, dictionary, S1-mini files)~/Library/Caches/de.dinooo13.pladder~/Library/Preferences/de.dinooo13.pladder.plist~/Library/HTTPStorages/de.dinooo13.pladder(for Sparkle's requests)FluidAudio/Models/parakeet-ultraandparakeet-tdt-0.6b-v3It also has
rmdiron~/Library/Application Support/FluidAudio, which Homebrew removes only if it is empty, so models another app put there stay.Checks
brew styleandbrew audit --cask --strict --onlinepass on the cask rendered for 0.1.2, in a throwaway local tap (Homebrew 7.0.6).--newfails only on the notability bar of the main Homebrew repository, which is out of scope.spctlaccepts the 0.1.2 DMG that Homebrew downloaded ("Notarized Developer ID"), andstapler validatepasses.brew livecheckfinds 0.1.2.check-site-numbers.shandcheck-doc-pointers.shpass.brew install,brew uninstall --zapandbrew upgrade. They would replace or quit the copy in use and delete the live settings. They can be run once the tap exists, on a Mac or account that isn't dictating.Before merging
dinooo13/homebrew-tap exists now, with a README and no cask yet. The bump step creates
Casks/pladder.rbwhen it is missing, so 0.2.0, the first release after this merge, is the first version on Homebrew.dinooo13/homebrew-taponly and Contents: Read and write, and store it asHOMEBREW_TAP_TOKENin thereleaseenvironment. Without it, the 0.2.0 bump fails and has to be done by hand (INSTALL.md, "Homebrew").brew install --cask dinooo13/tap/pladderon a Mac or account that isn't dictating, and checkbrew uninstall --zap.Between this merge and the 0.2.0 release, the site and the README already name the brew command, but there is no cask yet for it to install.
🤖 Generated with Claude Code