Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-09-24 15:50:52 -04:00
parent 18dcbce78b
commit 5a4353b749
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

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