remove double quotes
This commit is contained in:
parent
f23f051c0d
commit
f87ee554c2
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ if [ -z "${token}" ]; then
|
||||||
exit 4
|
exit 4
|
||||||
fi
|
fi
|
||||||
if [ "${tag}" == "latest" ]; then
|
if [ "${tag}" == "latest" ]; then
|
||||||
tag=$(curl -L -s -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${token}" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/mastodon/mastodon/releases/latest | jq '.tag_name')
|
tag=$(curl -L -s -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${token}" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/mastodon/mastodon/releases/latest | jq '.tag_name' | sed 's/"//g')
|
||||||
if [ "${DEBUG}" == "true" ]; then
|
if [ "${DEBUG}" == "true" ]; then
|
||||||
echo "Latest tag is '${tag}'"
|
echo "Latest tag is '${tag}'"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue