Skip to content

Commit

Permalink
chore: Update cli/setup.sh with release candidate
Browse files Browse the repository at this point in the history
  • Loading branch information
kdestin committed Sep 26, 2023
1 parent fd1a7da commit f69bb4c
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions cli/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@
### * Uncomment the following block surrounded by {}
### * Comment the ml extension install within <az_ml_install>

# {
# 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_ml_install>
az extension add -n ml -y
# az extension add -n ml -y
# </az_ml_install>

## For backward compatibility - running on old subscription
Expand Down

0 comments on commit f69bb4c

Please sign in to comment.