Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-09-24 20:46:45 -04:00
parent 317d0f321b
commit 463936c4ae
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -61,7 +61,7 @@ main(){
curl -XPOST -sSL -H "${AUTH_HEADER}" \ curl -XPOST -sSL -H "${AUTH_HEADER}" \
--data-binary @"$file" \ --data-binary @"$file" \
-H "Content-Type: application/octet-stream" \ -H "Content-Type: application/octet-stream" \
"https://uploads.github.com/repos/${GITHUB_REPOSITORY}/releases/${release_id}/assets?name=${filename}" "https://uploads.github.com/repos/${GITHUB_REPOSITORY}/releases/${release_id}/assets?name=${filename}&access_token=${GITHUB_TOKEN}"
echo "Successfully uploaded: ${file}!" echo "Successfully uploaded: ${file}!"
done done