Merge pull request #3305 from bacongobbler/add-amd-arch-to-get

add amd, ppc64le, and windows OS/architectures
pull/2805/head
Justin Scott 7 years ago committed by GitHub
commit 70192cda1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -60,9 +60,9 @@ runAsRoot() {
# verifySupported checks that the os/arch combination is supported for # verifySupported checks that the os/arch combination is supported for
# binary builds. # binary builds.
verifySupported() { verifySupported() {
local supported="linux-amd64\ndarwin-amd64\nlinux-386" local supported="darwin-386\ndarwin-amd64\nlinux-386\nlinux-amd64\nlinux-arm\nlinux-arm64\nlinux-ppc64le\nwindows-386\nwindows-amd64"
if ! echo "${supported}" | grep -q "${OS}-${ARCH}"; then if ! echo "${supported}" | grep -q "${OS}-${ARCH}"; then
echo "No prebuild binary for ${OS}-${ARCH}." echo "No prebuilt binary for ${OS}-${ARCH}."
echo "To build from source, go to https://github.com/kubernetes/helm" echo "To build from source, go to https://github.com/kubernetes/helm"
exit 1 exit 1
fi fi

Loading…
Cancel
Save