From 9816b6af7de8cb5a3ea7d16b49123d9394ce1e72 Mon Sep 17 00:00:00 2001 From: Jagadeesh Boyidi <156110142+jaga-work@users.noreply.github.com> Date: Wed, 9 Oct 2024 17:50:20 +0530 Subject: [PATCH] updated the cli wheel to 2.31 --- cli/setup.sh | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/cli/setup.sh b/cli/setup.sh index 8914f24309..0fa8e70a6d 100644 --- a/cli/setup.sh +++ b/cli/setup.sh @@ -5,18 +5,18 @@ ### * 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.31.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 + } # @@ -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