Skip to content

Commit

Permalink
Update setup.sh to use new CLI version
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesHolland authored Sep 5, 2023
1 parent 9826954 commit d4e54b9
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,18 +5,18 @@
### * 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-0.0.139-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>
Expand Down Expand Up @@ -44,4 +44,4 @@ then
echo "Default resource group set to $GROUP"
else
echo "Workflows are using the new subscription."
fi
fi

0 comments on commit d4e54b9

Please sign in to comment.