Skip to content

Commit

Permalink
Update setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jaga-work authored Jun 11, 2024
1 parent df215c4 commit 3f8a88a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion cli/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@
# }


{
wheel_url='https://azuremlsdktestpypi.blob.core.windows.net/wheels/sdk-cli-v2-public/ml-2.27.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_ml_install>
Expand All @@ -44,4 +58,4 @@ then
echo "Default resource group set to $GROUP"
else
echo "Workflows are using the new subscription."
fi
fi

0 comments on commit 3f8a88a

Please sign in to comment.