From eb57ab941c4173e694b2cb0b0b11caf6e175ecaa Mon Sep 17 00:00:00 2001 From: kdestin <101366538+kdestin@users.noreply.github.com> Date: Mon, 25 Sep 2023 22:48:48 -0400 Subject: [PATCH] chore: Update cli/setup.sh with release candidate --- cli/setup.sh | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/cli/setup.sh b/cli/setup.sh index 8914f24309..4949c0acb9 100644 --- a/cli/setup.sh +++ b/cli/setup.sh @@ -5,22 +5,22 @@ ### * Uncomment the following block surrounded by {} ### * Comment the ml extension install within -# { -# wheel_url='https://azuremlsdktestpypi.blob.core.windows.net/wheels/sdk-cli-v2-public/ml-2.9.0-py3-none-any.whl' -# -# az extension remove -n ml -# if ! az extension add --yes --upgrade --source "$wheel_url"; then -# -# echo "Error: Failed to install release candidate" -# exit 1 -# fi -# az version -# unset wheel_url -# } + { + wheel_url='https://azuremlsdktestpypi.blob.core.windows.net/wheels/sdk-cli-v2-public/ml-2.21.0-py3-none-any.whl' + + az extension remove -n ml + if ! az extension add --yes --upgrade --source "$wheel_url"; then + + echo "Error: Failed to install release candidate" + exit 1 + fi + az version + unset wheel_url + } # -az extension add -n ml -y +# az extension add -n ml -y # ## For backward compatibility - running on old subscription