Skip to content

Commit 33ef12d

Browse files
committed
test
test test
1 parent dd0b1d0 commit 33ef12d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/config.sh

+1
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ function github_release_id(){ # github_release_id <repo-path> <release-tag>
135135
local repo_path="$1"
136136
local release_tag="$2"
137137
local release=`curl -s -k -H "Authorization: token $GITHUB_TOKEN" -H "Accept: application/vnd.github.v3.raw+json" "https://api.github.com/repos/$repo_path/releases" | jq -r '.[] | select(.tag_name == "$release_tag") | .id'`
138+
echo "$release"
138139
if [ ! "$release" == "" ] && [ ! "$release" == "null" ]; then echo "$release"; else echo ""; fi
139140
}
140141

0 commit comments

Comments
 (0)