Skip to content
This repository has been archived by the owner on Nov 25, 2021. It is now read-only.

Commit

Permalink
Add registry and help commands to bootstrap script
Browse files Browse the repository at this point in the history
Signed-off-by: hasheddan <[email protected]>
  • Loading branch information
hasheddan committed Apr 28, 2020
1 parent 7d559a9 commit 3a9b369
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,16 @@ if [[ "${RELEASE}" == "master" || "${RELEASE}" == release-0.1 ]]; then
set +x
echo "NOTICE: the trace and pack commands are not available from master. RELEASE must be set to a released version (such as v0.2.0). See https://github.com/crossplane/crossplane-cli/releases for the full list of releases." >&2
set -x
curl -sL -o "${PREFIX}"/bin/kubectl-crossplane-package https://raw.githubusercontent.com/crossplane/crossplane-cli/"${RELEASE}"/bin/kubectl-crossplane-package >/dev/null
curl -sL -o "${PREFIX}"/bin/kubectl-crossplane-package-build https://raw.githubusercontent.com/crossplane/crossplane-cli/"${RELEASE}"/bin/kubectl-crossplane-package-build >/dev/null
curl -sL -o "${PREFIX}"/bin/kubectl-crossplane-package-init https://raw.githubusercontent.com/crossplane/crossplane-cli/"${RELEASE}"/bin/kubectl-crossplane-package-init >/dev/null
curl -sL -o "${PREFIX}"/bin/kubectl-crossplane-package-publish https://raw.githubusercontent.com/crossplane/crossplane-cli/"${RELEASE}"/bin/kubectl-crossplane-package-publish >/dev/null
curl -sL -o "${PREFIX}"/bin/kubectl-crossplane-package-install https://raw.githubusercontent.com/crossplane/crossplane-cli/"${RELEASE}"/bin/kubectl-crossplane-package-install >/dev/null
curl -sL -o "${PREFIX}"/bin/kubectl-crossplane-package-uninstall https://raw.githubusercontent.com/crossplane/crossplane-cli/"${RELEASE}"/bin/kubectl-crossplane-package-uninstall >/dev/null
curl -sL -o "${PREFIX}"/bin/kubectl-crossplane-package-generate_install https://raw.githubusercontent.com/crossplane/crossplane-cli/"${RELEASE}"/bin/kubectl-crossplane-package-generate_install >/dev/null
curl -sL -o "${PREFIX}"/bin/kubectl-crossplane-package-list https://raw.githubusercontent.com/crossplane/crossplane-cli/"${RELEASE}"/bin/kubectl-crossplane-package-list >/dev/null
curl -sL -o "${PREFIX}"/bin/kubectl-crossplane-registry https://raw.githubusercontent.com/crossplane/crossplane-cli/"${RELEASE}"/bin/kubectl-crossplane-package-registry >/dev/null
curl -sL -o "${PREFIX}"/bin/kubectl-crossplane-registry-login https://raw.githubusercontent.com/crossplane/crossplane-cli/"${RELEASE}"/bin/kubectl-crossplane-package-registry-login >/dev/null
else
curl -sL https://github.com/crossplane/crossplane-cli/releases/download/"${RELEASE}"/crossplane-cli_"${RELEASE}"_"${PLATFORM}"_amd64.tar.gz | tar -xz -v --strip 1 -C "${PREFIX}"/bin
fi
Expand Down

0 comments on commit 3a9b369

Please sign in to comment.