Skip to content

Commit

Permalink
datadog-ci: put the binary in the right place (cashapp#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Robinson authored Jun 1, 2023
1 parent 0cb51ca commit 4a05cc3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions datadog-ci.hcl
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
description = "Use Datadog from your CI"
binaries = ["datadog-ci"]
test = "datadog-ci --version"
test = "datadog-ci version"

platform "darwin" {
source = "https://github.com/DataDog/datadog-ci/releases/download/v${version}/datadog-ci_darwin-x64"

on "unpack" {
rename {
from = "datadog-ci_darwin-x64"
to = "datadog-ci"
from = "${root}/datadog-ci_darwin-x64"
to = "${root}/datadog-ci"
}
}
}
Expand All @@ -18,8 +18,8 @@ platform "linux" "amd64" {

on "unpack" {
rename {
from = "datadog-ci_linux-x64"
to = "datadog-ci"
from = "${root}/datadog-ci_linux-x64"
to = "${root}/datadog-ci"
}
}
}
Expand Down

0 comments on commit 4a05cc3

Please sign in to comment.