Repository navigation
feat: Add DMG casks and bump workflow - #419
eduardomozart wants to merge 3 commits into
Conversation
d7001df to
80542ea
Compare
ReenigneArcher
left a comment
There was a problem hiding this comment.
Thanks for this. This is something that's been in the back of my mind for a while now.
I think this might need a little more thought though.
- Other casks will be available here in the future. We need to make sure this is not too specific to Sunshine, but can work for future casks as well. I think homebrew has a way to do a livecheck and update affected formulas/casks.
- We currently update the Sunshine (stable) beta on every release event in Sunshine automatically. It would be ideal if both the cask and formula were updated together. Similarly, for Sunshine (beta), it's updated automatically when we create the beta release in Sunshine's repo.
Not really sure the best way forward, but these are my initial thoughts on it.
80542ea to
4488e37
Compare
I've shifted the architecture to use official Homebrew tooling:
Because of this, whenever a release goes live, the central pipeline will bump the Formula and then immediately run a native This completely decouples the update logic from Sunshine specifically, meaning any future Casks you add to this tap will be automatically supported with zero extra configuration! Let me know what you think of this setup. |
|



Description
This PR introduces Homebrew Casks for Sunshine stable and beta releases (
Casks/sunshine.rbandCasks/sunshine-beta.rb). These casks install the pre-built.dmgbundles directly, providing an alternative to compiling from source and ensuring users receive a.appbundle that properly interfaces with macOS Privacy & Security permissions (e.g., Screen Recording).These static templates are designed to be automatically bumped by the centralized release pipeline. When a new upstream release is published, the central pipeline will invoke
Homebrew/actions/bump-packagesto natively scan thelivecheckblocks in these Casks and open concurrent version bump PRs.Screenshot
Issues Fixed or Closed
Roadmap Issues
Testing
brew style --fixandbrew audit --cask --strict --online.audit_exceptions/github_prerelease_allowlist.jsonto successfully suppress the Homebrew pre-release audit failure for thesunshine-betacask.Type of Change
Checklist
AI Usage
See our AI usage policy.