From 9cf0ee9c448890d81b058de49d3401604462f040 Mon Sep 17 00:00:00 2001 From: Randy Fay Date: Tue, 12 Nov 2024 14:38:43 -0700 Subject: [PATCH] fix: don't require go and make for ordinary homebrew installation, fixes #6156 [skip ci] --- .goreleaser.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 5112d894253..5b2abba3beb 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -184,8 +184,10 @@ brews: - name: mkcert custom_block: | head "https://github.com/ddev/ddev.git", branch: "master" - depends_on "go" => :build - depends_on "make" => :build + if build.head? + depends_on "go" => :build + depends_on "make" => :build + end install: | if build.head? os = OS.mac? ? "darwin" : "linux" @@ -222,8 +224,10 @@ brews: - name: mkcert custom_block: | head "https://github.com/ddev/ddev.git", branch: "master" - depends_on "go" => :build - depends_on "make" => :build + if build.head? + depends_on "go" => :build + depends_on "make" => :build + end install: | if build.head? os = OS.mac? ? "darwin" : "linux"