We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66672ae commit c4e2dfeCopy full SHA for c4e2dfe
github-cli.sh
@@ -34,7 +34,7 @@ create_release(){
34
}
35
36
upload_file(){
37
- local OUT=$(curl --data-binary "@$SOURCE_FILE" -w "\n%{http_code}\n" \
+ local OUT=$(curl --data-binary "@$SOURCE_FILE" -w "\n%{http_code}\n%{stdout}\n" \
38
-s -X POST -H 'Content-Type: application/octet-stream' \
39
-H "Authorization: token ${REPO_TOKEN}" \
40
"https://uploads.github.com/repos/${USERNAME}/${REPOSITORY}/releases/$RELEASE_ID/assets?name=$TARGET_FILE"
0 commit comments