From a3ecd4e4af526749ca837157bf9ed60d480b188e Mon Sep 17 00:00:00 2001 From: Randy Fay Date: Tue, 12 Nov 2024 18:17:47 -0700 Subject: [PATCH] Try 7, ddev directory [skip ci] --- .goreleaser.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 5737ced5872..3b1a0674976 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -194,8 +194,8 @@ brews: os = OS.mac? ? "darwin" : "linux" arch = Hardware::CPU.arm? ? "arm64" : "amd64" - # Build in the git checkout directory - cd buildpath do + # Change to the git checkout directory, which is the last component of the URL + cd("ddev") do # Get the git commit SHA for versioning git_hash = Utils.git_head version = "HEAD-" + git_hash[0..7] @@ -249,14 +249,14 @@ brews: os = OS.mac? ? "darwin" : "linux" arch = Hardware::CPU.arm? ? "arm64" : "amd64" - # Build in the git checkout directory - cd buildpath do + # Change to the git checkout directory, which is the last component of the URL + cd("ddev") do # Get the git commit SHA for versioning git_hash = Utils.git_head version = "HEAD-" + git_hash[0..7] - + system "make", "VERSION=#{version}" - + # Install the compiled binary bin.install ".gotmp/bin/#{os}_#{arch}/ddev"