File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -1429,14 +1429,6 @@ if [[ -z "${BASEDIR}" ]]; then
14291429 fi
14301430fi
14311431
1432- if ! (( FLAGS_buildonly)) && ! common::set_cloud_binaries; then
1433- logecho " Releasing Kubernetes requires gsutil and gcloud. Please download,"
1434- logecho " install and authorize through the Google Cloud SDK:"
1435- logecho
1436- logecho " https://developers.google.com/cloud/sdk/"
1437- common::exit 1 " Exiting..."
1438- fi
1439-
14401432# TODO:
14411433# These KUBE_ globals extend beyond the scope of the new release refactored
14421434# tooling so to pass these through as flags will require fixes across
@@ -1499,6 +1491,15 @@ if ! ((FLAGS_gcb)); then
14991491 common::security_layer
15001492fi
15011493
1494+ # Set cloud binaries
1495+ if ! (( FLAGS_buildonly)) && ! common::set_cloud_binaries; then
1496+ logecho " Releasing Kubernetes requires gsutil and gcloud. Please download,"
1497+ logecho " install and authorize through the Google Cloud SDK:"
1498+ logecho
1499+ logecho " https://developers.google.com/cloud/sdk/"
1500+ common::exit 1 " Exiting..."
1501+ fi
1502+
15021503(( FLAGS_stage)) || common::run_stateful gitlib::github_acls
15031504
15041505# Simple check to validate who can do actual releases
You can’t perform that action at this time.
0 commit comments