From 8486196f7f4a7e57fdf6b0498e26de693a80904a Mon Sep 17 00:00:00 2001 From: Amit Chauhan <70937115+achauhan-scc@users.noreply.github.com> Date: Tue, 16 Jul 2024 10:18:45 +0530 Subject: [PATCH] CLI 2.28.0 Release validation --- cli/setup.sh | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/cli/setup.sh b/cli/setup.sh index 8914f24309..7579b0c4da 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.28.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