Output Release ID

pull/2531/head
Shelikhoo 2019-10-30 17:04:17 +08:00 committed by Nicholas Wang
parent 551c747013
commit 7d1cb8aa44
No known key found for this signature in database
GPG Key ID: F20CA399C9BD9100
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ RELEASE_DATA=$(curl -H "Authorization: token ${GITHUB_TOKEN}" -X GET https://api
echo $RELEASE_DATA
RELEASE_ID=$(echo $RELEASE_DATA| jq ".id")
echo $RELEASE_ID
function uploadfile() {
FILE=$1
CTYPE=$(file -b --mime-type $FILE)