fix publish scripts
This commit is contained in:
parent
f3c5d7a929
commit
9eb6bdec2a
2 changed files with 2 additions and 2 deletions
|
@ -158,7 +158,7 @@ function UploadVersionBadge($badgeFile)
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Host "Uploading the version badge to $env:DOTNET_CLI_VERSION"
|
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
|
return -1
|
||||||
}
|
}
|
||||||
|
|
|
@ -100,7 +100,7 @@ upload_file_to_blob_storage_azure_cli(){
|
||||||
local properties=""
|
local properties=""
|
||||||
|
|
||||||
if $preventCaching ; then
|
if $preventCaching ; then
|
||||||
$properties="--properties cacheControl=no-cache"
|
properties="--properties cacheControl=no-cache"
|
||||||
fi
|
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
|
# 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue