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

Debugging silent asset upload failures during release
This commit is contained in:
Trent Nelson
2020-06-23 18:27:55 -06:00
committed by GitHub
parent c52f06a54a
commit 3aab13a167

View File

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