From 29722c204454be9b479f8bad6cf84fbb5dc36aea Mon Sep 17 00:00:00 2001 From: Tariq West Date: Tue, 16 Jun 2026 02:10:16 -0400 Subject: [PATCH] goreleaser: emit non-deprecated depends_on macos: form The current Homebrew formula generated for cirruslabs/homebrew-cli emits a deprecation warning on every brew run: Warning: Calling `depends_on :macos` with `depends_on macos:` is deprecated! Use `depends_on :macos` with `depends_on macos:` inside an `on_macos` block instead. This is caused by the `custom_block` injecting the legacy hash-rocket form `depends_on :macos => :sequoia` into the generated formula. Replacing it with the equivalent `on_macos do ... end` block makes the generated softnet.rb conform to current Homebrew syntax and silences the warning. --- .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