From 7d1cb8aa4492b033edbb7bdcf763872fa26a0b73 Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Wed, 30 Oct 2019 17:04:17 +0800 Subject: [PATCH] Output Release ID --- release/tagrelease.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/release/tagrelease.sh b/release/tagrelease.sh index 6bfe724c..59bdf55a 100755 --- a/release/tagrelease.sh +++ b/release/tagrelease.sh @@ -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)