From 33ae794b06ff028510b89896fc90344da4031c86 Mon Sep 17 00:00:00 2001 From: Neehar Duvvuri <40341266+needuv@users.noreply.github.com> Date: Mon, 29 Jan 2024 17:23:06 -0500 Subject: [PATCH] Update setup.sh --- cli/setup.sh | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/cli/setup.sh b/cli/setup.sh index 8914f243093..a336498bf89 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.23.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 @@ -44,4 +44,4 @@ then echo "Default resource group set to $GROUP" else echo "Workflows are using the new subscription." -fi \ No newline at end of file +fi