Minor fix to add quotes to the Upload_URI variable.
This commit is contained in:
parent
756080421d
commit
91b0185b54
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ Write-Host "Uploading $fileName to dotnet feed.."
|
|||
|
||||
$Upload_URI = "https://$env:STORAGE_ACCOUNT.blob.core.windows.net/$env:STORAGE_CONTAINER/$env:CHANNEL/$Folder/$env:DOTNET_BUILD_VERSION/$fileName$env:SASTOKEN"
|
||||
|
||||
Invoke-WebRequest -URI $Upload_URI -Method PUT -Headers @{"x-ms-blob-type"="BlockBlob"; "x-ms-date"="2015-10-23";"x-ms-version"="2013-08-15"} -InFile $file
|
||||
Invoke-WebRequest -URI "$Upload_URI" -Method PUT -Headers @{"x-ms-blob-type"="BlockBlob"; "x-ms-date"="2015-10-23";"x-ms-version"="2013-08-15"} -InFile $file
|
||||
|
||||
$ReturnCode = $LASTEXITCODE
|
||||
|
||||
|
|
Loading…
Reference in a new issue