1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00

Output Release ID

This commit is contained in:
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

View File

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