Skip to content

Commit 362d7d2

Browse files
authored
Update upload2release.sh
1 parent 8f41c63 commit 362d7d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

upload2release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cat $GITHUB_EVENT_PATH
2323
#RELEASE_ID=$(jq --raw-output '.release.id' $GITHUB_EVENT_PATH)
2424
#echo RELEASE_ID = $RELEASE_ID
2525

26-
curl -v -H "Authorization: token ${GITHUB_TOKEN}" "https://api.github.com/repos/${GITHUB_REPOSITORY}/releases"
26+
curl --fail -H "Authorization: token ${GITHUB_TOKEN}" "https://api.github.com/repos/${GITHUB_REPOSITORY}/releases"
2727

2828
RELEASE_ID=$(curl --fail \
2929
-H "Authorization: token ${GITHUB_TOKEN}" \

0 commit comments

Comments
 (0)