Skip to content

Commit

Permalink
Update upload2release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
WorkTimer authored Dec 20, 2019
1 parent 8f41c63 commit 362d7d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload2release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cat $GITHUB_EVENT_PATH
#RELEASE_ID=$(jq --raw-output '.release.id' $GITHUB_EVENT_PATH)
#echo RELEASE_ID = $RELEASE_ID

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

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

0 comments on commit 362d7d2

Please sign in to comment.