tree-sitter: fix update script's prefetch
It was including the quotes from jq into the tag name, which is incorrect
This commit is contained in:
parent
f78a083ddd
commit
b7b8e9574f
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ let
|
|||
if [[ "$(printf "%s" "$res" | ${jq}/bin/jq '.message?')" =~ "rate limit" ]]; then
|
||||
echo "rate limited" >&2
|
||||
fi
|
||||
release=$(printf "%s" "$res" | ${jq}/bin/jq '.tag_name')
|
||||
release="$(printf "%s" "$res" | ${jq}/bin/jq -r '.tag_name')"
|
||||
# github sometimes returns an empty list even tough there are releases
|
||||
if [ "$release" = "null" ]; then
|
||||
echo "uh-oh, latest for ${orga + "/" + repo} is not there, using HEAD" >&2
|
||||
|
|
Loading…
Reference in a new issue