Skip to content

Commit aeb780c

Browse files
committed
fix: update built version command to use OS_ARCH variable in cross build script
1 parent 6c66087 commit aeb780c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/prow/minikube_cross_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export MINIKUBE_BIN="out/minikube-${OS_ARCH}"
4040
export E2E_BIN="out/e2e-${OS_ARCH}"
4141
chmod +x "${MINIKUBE_BIN}" "${E2E_BIN}"
4242

43-
BUILT_VERSION=$("out/minikube-$(go env GOOS)-$(go env GOARCH)" version)
43+
BUILT_VERSION=$("out/minikube-${OS_ARCH}" version)
4444
echo ${BUILT_VERSION}
4545

4646
COMMIT=$(echo ${BUILT_VERSION} | grep 'commit:' | awk '{print $2}')

0 commit comments

Comments
 (0)