Skip to content

Commit cd607de

Browse files
committed
.
1 parent d6bbabb commit cd607de

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

scripts/build.sh

+7-3
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,16 @@ readonly script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 &&
1111

1212
env GOOS=linux GOARCH=amd64 go build \
1313
-ldflags="-X 'github.com/vmware-labs/vmware-customer-connect-cli/cmd.cliVersion=${verison}'" \
14-
-o ${script_dir}/builds/vcc-linux-v${verison}
14+
-o ${script_dir}/builds/vcc-linux-amd64-v${verison}
1515

1616
env GOOS=darwin GOARCH=amd64 go build \
1717
-ldflags="-X github.com/vmware-labs/vmware-customer-connect-cli/cmd.cliVersion=${verison}" \
18-
-o ${script_dir}/builds/vcc-darwin-v${verison}
18+
-o ${script_dir}/builds/vcc-darwin-amd64-v${verison}
19+
20+
env GOOS=darwin GOARCH=arm64 go build \
21+
-ldflags="-X github.com/vmware-labs/vmware-customer-connect-cli/cmd.cliVersion=${verison}" \
22+
-o ${script_dir}/builds/vcc-darwin-arm64-v${verison}
1923

2024
env GOOS=windows GOARCH=amd64 go build \
2125
-ldflags="-X github.com/vmware-labs/vmware-customer-connect-cli/cmd.cliVersion=${verison}" \
22-
-o ${script_dir}/builds/vcc-windows-v${verison}.exe
26+
-o ${script_dir}/builds/vcc-windows-amd64-v${verison}.exe

0 commit comments

Comments
 (0)