From c7e0c5fe2503f238860aefc29ed2de6e2a757cf4 Mon Sep 17 00:00:00 2001 From: Michael Bentley Date: Sat, 20 Jun 2026 07:55:52 -0400 Subject: [PATCH] Fix deprecated depends_on macos: syntax in generated formula Homebrew now deprecates having a bare `depends_on :macos` (auto-emitted by GoReleaser for darwin-only targets) alongside a top-level versioned `depends_on :macos => :sequoia`. Wrap the version constraint in an `on_macos` block, which is the form Homebrew's deprecation message recommends, and switch to the blessed `depends_on macos: :sequoia` keyword syntax (the `=> :sequoia` / string ">= :sequoia" forms are both deprecated). Semantics are unchanged: macOS Sequoia or newer. Co-Authored-By: Claude Opus 4.8 (1M context) --- .goreleaser.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 9d90c75..c9e0693 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -30,4 +30,6 @@ brews: description: Software networking with isolation for Tart skip_upload: auto custom_block: | - depends_on :macos => :sequoia + on_macos do + depends_on macos: :sequoia + end