Skip to content

Commit

Permalink
fix: allow darwin arm processor installation
Browse files Browse the repository at this point in the history
  • Loading branch information
jbdelpech authored and jBouyoud committed Mar 31, 2022
1 parent fe59ac4 commit e8b1d35
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ YQ_ARCH="386"
if [ "$(uname -m)" = "x86_64" ]; then
YQ_ARCH="amd64"
fi
if [ "$(uname -m)" = "arm64" ]; then
YQ_ARCH="arm64"
fi

YQ_SUFFIX=""
if [ "${YQ_PLATFORM}" = "windows" ]; then
Expand All @@ -40,6 +43,8 @@ YQ_URL="${YQ_URL:-"https://github.com/mikefarah/yq/releases/download/v${YQ_VERSI
# shellcheck disable=SC2034
YQ_SHA_darwin_amd64="8ef8160d69a5bb24e101ca4fcbad2e997b575a6dbb2f6e88f8d393cafeba3b40"
# shellcheck disable=SC2034
YQ_SHA_darwin_arm64="54b9f62d839506b6140c05e9b3c3a1ae614e624adcfb52c73869dcd2affdbec1"
# shellcheck disable=SC2034
YQ_SHA_linux_368="faf5d5537f1ac5f48bea57c1f5296d4a1faee5bd946a2e5f01348c2aa45cdf85"
# shellcheck disable=SC2034
YQ_SHA_linux_amd64="a1cfa39a9538e27f11066aa5659b32f9beae1eea93369d395bf45bcfc8a181dc"
Expand Down

0 comments on commit e8b1d35

Please sign in to comment.