Skip to content

Commit

Permalink
Fix script for makerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDorier committed Apr 22, 2020
1 parent fcf56c6 commit cb1d0b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Build/travis/makerelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ DIRECTORY_NAME="dist-$TRAVIS_BUILD_ID"
wget -O azcopy.tar.gz https://aka.ms/downloadazcopy-v10-linux
tar -xf azcopy.tar.gz --strip-components=1
mkdir -p dist
./azcopy cp "https://$AZURE_ACCOUNT_NAME.blob.core.windows.net/$AZURE_STORAGE_CONTAINER/$DIRECTORY_NAME/*" "dist"
# Our container is public, so the SAS token should not be needed
# But AzCopy is broken https://github.com/Azure/azure-storage-azcopy/issues/971
./azcopy cp "https://$AZURE_ACCOUNT_NAME.blob.core.windows.net/$AZURE_STORAGE_CONTAINER/$DIRECTORY_NAME/*?sv=2019-02-02&ss=b&srt=co&sp=rl&se=2100-04-21T15:00:00Z&st=2020-04-21T19:07:13Z&spr=https&sig=5hMGP4ZR3MUVVp4AVxFDS%2BuFY%2FsU4M8%2B2wKOr8utpWI%3D" \
"dist"

release="$(cat Build/RELEASE.md)"
version="$(echo "$TRAVIS_TAG" | cut -d'/' -f2)"
Expand Down

0 comments on commit cb1d0b5

Please sign in to comment.