Repository navigation
Publish betas to a focusrite-volume-control@beta cask; DMG + Homebrew on every release page - #3
Merged
Merged
Conversation
Beta tags (vX.Y.Z-beta.N) now update a focusrite-volume-control@beta cask in the tap. Stable tags update both casks, so anyone on the beta cask also gets stable releases. The two casks conflict with each other because they install the same app. Every release page now shows both Homebrew and DMG install steps, with the @beta cask on betas. The tag is validated before anything is built, so a malformed tag fails before a GitHub release exists. render_cask.py gains --beta and accepts prerelease versions for the beta cask only; its tests now run in CI. The cask template moves caveats after zap to match Homebrew's stanza order. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VmKKr8ac2AMxJvMTmoGoPc
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VmKKr8ac2AMxJvMTmoGoPc
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.
Beta tags get their own Homebrew cask, and every release page shows both install methods.
What changes
vX.Y.Z-beta.N) create a GitHub prerelease and update onlyfocusrite-volume-control@betain the tap. The regular cask and the Sparkle appcast stay untouched.@betaalso moves up to stable releases instead of getting stuck on an old beta.conflicts_witheach other, since both installVolume Control.app.@betaon betas), DMG steps, a right-click-Open step only for unsigned builds, and the DMG SHA256. Betas add a short banner and a link for reporting problems.vX.Y.ZorvX.Y.Z-beta.Nfails at the first step, before a GitHub release exists.scripts/render_cask.pygains--beta. Only the beta cask accepts prerelease versions.scripts/test_render_cask.py(8 tests, includingruby -con every rendered variant), run by CI.caveatsafterzapto match Homebrew's stanza order.Verification
run:block passesbash -n.ruby -c.brewin the build container): the@betatoken,conflicts_withbetween the two casks, and hyphenated versions. The first real run is the next beta tag, which can't touch the regular cask.Generated by Claude Code