Skip to content

Commit 088e20f

Browse files
author
Anastasia Senyushina
committed
Fix use az dependency
1 parent ea6e3d5 commit 088e20f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/publish-storage-account.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,7 @@ zip -r $ZIP_FILE $ARCHIVE
3131
cd -
3232

3333
# Upload file
34+
FILE_NAME=`echo $ZIP_FILE | cut -d \/ -f 4`
35+
3436
AZURE_STORAGE_ACCESS_KEY=$AZURE_STORAGE_ACCESS_KEY \
35-
azure storage blob upload $BUILD_ARTIFACTSTAGINGDIRECTORY/$ZIP_FILE sdk
37+
az storage blob upload -f "$BUILD_ARTIFACTSTAGINGDIRECTORY/$ZIP_FILE" -c sdk -n "$FILE_NAME"

0 commit comments

Comments
 (0)