From 533ec5ac2364d4234fab900711939bd2e0b2549d Mon Sep 17 00:00:00 2001 From: Jeff Hodges Date: Mon, 12 Dec 2022 23:03:38 -0800 Subject: [PATCH] remove arch check to allow arm64 chamber's been releasing arm64 for about 10 months or so now, so this check is no longer true. My team is on M1 macOS machines now, so we need to be able to grab arm64 chambers. --- bin/download | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/download b/bin/download index 71c100f..ee2f15f 100755 --- a/bin/download +++ b/bin/download @@ -27,8 +27,10 @@ download_release() { proc=$(uname -m) if [ "$proc" = "x86_64" ]; then arch="amd64" + elif [ "$proc" = "arm64" ]; then + arch="arm64" else - fail "$TOOL_NAME only has built binaries for amd64." + fail "Unsupported architecture: $proc" fi url="$GH_REPO/releases/download/v${version}/${TOOL_NAME}-v${version}-${os}-${arch}"