mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
Remove ~/repo before moving Cloud SDK components there
This commit is contained in:
parent
a45c87864e
commit
375f4df7b7
@ -1306,6 +1306,7 @@ fi
|
||||
# at HEAD, release candidate.
|
||||
if [[ ! -z "${CLOUDSDK_BUCKET:-}" ]]; then
|
||||
gsutil -m cp -r "${CLOUDSDK_BUCKET}" ~
|
||||
rm -rf ~/repo
|
||||
mv ~/$(basename "${CLOUDSDK_BUCKET}") ~/repo
|
||||
mkdir ~/cloudsdk
|
||||
tar zvxf ~/repo/google-cloud-sdk.tar.gz -C ~/cloudsdk
|
||||
|
Loading…
Reference in New Issue
Block a user