Use the non-deprecated depends_on macos symbol form#13
Conversation
Homebrew deprecated the string comparison form (">= :sonoma") for
depends_on macos in casks; the bare symbol form (:sonoma) means the
same thing (Sonoma or newer) without the deprecation warning. Updates
both the packaging script and the CI-generated cask so they stay in
sync.
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: GitButler <gitbutler@gitbutler.com>
There was a problem hiding this comment.
Code Review
This pull request updates the Homebrew cask definition in Scripts/package-for-homebrew.sh to simplify the macOS dependency specification from depends_on macos: ">= :sonoma" to depends_on macos: :sonoma. There are no review comments, and I have no additional feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
There was a problem hiding this comment.
Pull request overview
Updates the Homebrew Cask macOS dependency syntax to the current, non-deprecated form so the generated cask and the packaging script remain aligned with Homebrew’s expectations.
Changes:
- Replace
depends_on macos: ">= :sonoma"withdepends_on macos: :sonomain the packaging script cask template. - Apply the same update to the CI workflow’s generated
vista.rbcask content to keep both sources in sync.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Scripts/package-for-homebrew.sh | Updates the cask snippet to use the non-deprecated depends_on macos: :sonoma syntax. |
| .github/workflows/build.yml | Keeps the CI-generated tap cask output in sync with the updated depends_on macos: syntax. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Homebrew deprecated the string comparison form of
depends_on macosin casks. This swaps">= :sonoma"for the bare symbol:sonomain both the packaging script and the CI-generated cask so they stay in sync. Same meaning (Sonoma or newer), just the current Homebrew syntax.