Skip to content

Commit c4e2dfe

Browse files
author
Github CLI
committed
print output
1 parent 66672ae commit c4e2dfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github-cli.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ create_release(){
3434
}
3535

3636
upload_file(){
37-
local OUT=$(curl --data-binary "@$SOURCE_FILE" -w "\n%{http_code}\n" \
37+
local OUT=$(curl --data-binary "@$SOURCE_FILE" -w "\n%{http_code}\n%{stdout}\n" \
3838
-s -X POST -H 'Content-Type: application/octet-stream' \
3939
-H "Authorization: token ${REPO_TOKEN}" \
4040
"https://uploads.github.com/repos/${USERNAME}/${REPOSITORY}/releases/$RELEASE_ID/assets?name=$TARGET_FILE"

0 commit comments

Comments
 (0)