Output Release ID

pull/2141/head
Shelikhoo 2019-10-30 17:04:17 +08:00
parent 0e39a08e10
commit d1881e2bc6
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316
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)