Skip to content

Use the non-deprecated depends_on macos symbol form#16

Merged
GordonBeeming merged 1 commit into
mainfrom
gb/fix-depends-on-macos
Jul 8, 2026
Merged

Use the non-deprecated depends_on macos symbol form#16
GordonBeeming merged 1 commit into
mainfrom
gb/fix-depends-on-macos

Conversation

@GordonBeeming

Copy link
Copy Markdown
Owner

Homebrew deprecated the string-comparison form for depends_on macos in the cask DSL. This swaps ">= :sonoma" for the bare symbol :sonoma, which carries the same meaning (Sonoma or newer) using the current, non-deprecated syntax.

Test plan

  • Confirmed exactly one depends_on macos line in .github/workflows/build.yml before and after the change
  • CI build passes

Homebrew deprecated the string-comparison form (">= :sonoma") for
depends_on macos in favor of the bare symbol form, which carries the
same "Sonoma or newer" meaning.

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: GitButler <gitbutler@gitbutler.com>
@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@GordonBeeming GordonBeeming marked this pull request as ready for review July 8, 2026 11:03
Copilot AI review requested due to automatic review settings July 8, 2026 11:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Homebrew Cask DSL snippet generated in the build workflow to use the newer depends_on macos syntax, replacing the deprecated string-comparison form with the bare macOS symbol.

Changes:

  • Replace depends_on macos: ">= :sonoma" with depends_on macos: :sonoma in the generated cask definition within the workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@GordonBeeming GordonBeeming merged commit 87e7efe into main Jul 8, 2026
3 checks passed
@GordonBeeming GordonBeeming deleted the gb/fix-depends-on-macos branch July 8, 2026 11:08
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