fix(linkerd2)

closes #5289
This commit is contained in:
Jacob Heider 2024-02-20 13:19:19 -05:00 committed by Jacob Heider
parent 32a8bbd848
commit 0c6043303f

View file

@ -10,17 +10,18 @@ versions:
build:
dependencies:
go.dev: ^1.21
git-scm.org: "*"
script: |
./bin/build-cli-bin
mkdir -p "{{ prefix }}"/bin
mv target/cli/$PLATFORM/linkerd "{{ prefix }}"/bin
git-scm.org: '*'
script:
- go mod tidy
- ./bin/build-cli-bin
- mkdir -p "{{ prefix }}"/bin
- mv target/cli/$PLATFORM/linkerd "{{ prefix }}"/bin
env:
CGO_ENABLED: 0
CI_FORCE_CLEAN: 1
darwin: {PLATFORM: darwin}
linux/aarch64: {PLATFORM: linux-arm64}
linux/x86-64: {PLATFORM: linux-amd64}
darwin: { PLATFORM: darwin }
linux/aarch64: { PLATFORM: linux-arm64 }
linux/x86-64: { PLATFORM: linux-amd64 }
provides:
- bin/linkerd