Skip to content

Commit

Permalink
Try 7, ddev directory [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Nov 14, 2024
1 parent 9a2c8fe commit a3ecd4e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit a3ecd4e

Please sign in to comment.