Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-09-24 21:12:18 -04:00
parent f7521e7935
commit eb47bdda03
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -59,7 +59,7 @@ main(){
filename=$(basename "$file") filename=$(basename "$file")
rp=$(realpath "$file") rp=$(realpath "$file")
curl -XPOST -sSL -H "${AUTH_HEADER}" \ curl -sSL -H "${AUTH_HEADER}" \
--data-binary @"$rp" \ --data-binary @"$rp" \
-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}&access_token=${GITHUB_TOKEN}" "https://uploads.github.com/repos/${GITHUB_REPOSITORY}/releases/${release_id}/assets?name=${filename}&access_token=${GITHUB_TOKEN}"