fix publish scripts

This commit is contained in:
Piotr Puszkiewicz 2016-02-17 19:32:10 -08:00
parent f3c5d7a929
commit 9eb6bdec2a
2 changed files with 2 additions and 2 deletions

View file

@ -158,7 +158,7 @@ function UploadVersionBadge($badgeFile)
}
Write-Host "Uploading the version badge to $env:DOTNET_CLI_VERSION"
if(-Not (UploadFile "$env:CHANNEL/Binaries/$env:DOTNET_CLI_VERSION/$fileName" $badgeFile)
if(-Not (UploadFile "$env:CHANNEL/Binaries/$env:DOTNET_CLI_VERSION/$fileName" $badgeFile))
{
return -1
}

View file

@ -100,7 +100,7 @@ upload_file_to_blob_storage_azure_cli(){
local properties=""
if $preventCaching ; then
$properties="--properties cacheControl=no-cache"
properties="--properties cacheControl=no-cache"
fi
# use azure cli to upload to blob storage. We cannot use curl to do this becuase azure has a max limit of 64mb that can be uploaded using REST