Make curl verbose when uploading assets to github (#10757) (#10761)

Debugging silent asset upload failures during release

(cherry picked from commit 3aab13a167)

Co-authored-by: Trent Nelson <trent@solana.com>
This commit is contained in:
mergify[bot]
2020-06-24 01:35:13 +00:00
committed by GitHub
parent a4d373f0af
commit a11986ad1d

View File

@ -42,6 +42,7 @@ echo "Github release id for $CI_TAG is $releaseId"
for file in "$@"; do for file in "$@"; do
echo "--- Uploading $file to tag $CI_TAG of $CI_REPO_SLUG" echo "--- Uploading $file to tag $CI_TAG of $CI_REPO_SLUG"
curl \ curl \
--verbose \
--data-binary @"$file" \ --data-binary @"$file" \
-H "Authorization: token $GITHUB_TOKEN" \ -H "Authorization: token $GITHUB_TOKEN" \
-H "Content-Type: application/octet-stream" \ -H "Content-Type: application/octet-stream" \