From f87ee554c2cedd01579871cfdeeb2c07807966a2 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Fri, 16 Feb 2024 18:01:23 +0200 Subject: [PATCH] remove double quotes --- files/update_mastodon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/update_mastodon.sh b/files/update_mastodon.sh index 4b7bd79..14324b1 100755 --- a/files/update_mastodon.sh +++ b/files/update_mastodon.sh @@ -52,7 +52,7 @@ if [ -z "${token}" ]; then exit 4 fi 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 echo "Latest tag is '${tag}'" fi