Update Create-DraftRelease.ps1

Former-commit-id: a08cd92f95d9b3c5c14864b19d516621a12adad7 [formerly 2c1ba98841b91ea0b596e26578e706360ca149ce [formerly 0fbd35c2bc36d2828c039237ca789c66df0cef5c]]
Former-commit-id: 6be635c74687fe1b905623b8aa3232ab04ea7482
Former-commit-id: 75f0594905516789fb354fb0883e1eb05a73f7a1
This commit is contained in:
Jaifroid 2021-06-18 09:05:22 +01:00
parent 77254ec7f5
commit ddfd525da2

View File

@ -467,7 +467,7 @@ if ($dryrun -or $buildonly -or $release.assets_url -imatch '^https:') {
InFile = $asset
ContentType = 'application/octet-stream'
}
"`nUpploading $asset..."
"`nUploading $asset..."
# Upload asset to the release server
# $upload = [System.IO.File]::ReadAllBytes($upload_file) | Invoke-RestMethod @upload_params
if (-Not $dryrun) { $upload = Invoke-RestMethod @upload_params }