Skip to content

Commit a46bab6

Browse files
authored
Update podspec url to use AFD hostname (#20452)
Update to use AFD url when generating podspec
1 parent ae78cdb commit a46bab6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/ci_build/github/apple/upload_pod_archive_and_update_podspec.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ POD_ARCHIVE_BASENAME=$(basename "${POD_ARCHIVE_PATH}")
3333

3434
STORAGE_ACCOUNT_NAME="onnxruntimepackages"
3535
STORAGE_ACCOUNT_CONTAINER_NAME="\$web"
36-
STORAGE_URL_PREFIX=$(az storage account show --name ${STORAGE_ACCOUNT_NAME} --query "primaryEndpoints.web" --output tsv)
36+
37+
# TODO: See if there's a way to get the new storage account AFD URL using the Azure CLI
38+
#STORAGE_URL_PREFIX=$(az storage account show --name ${STORAGE_ACCOUNT_NAME} --query "primaryEndpoints.web" --output tsv)
39+
STORAGE_URL_PREFIX="https://onnxruntimepackages.azureedge.net/"
3740

3841
# upload the pod archive and set the podspec source to the pod archive URL
3942
az storage blob upload \

0 commit comments

Comments
 (0)