Update repo

This commit is contained in:
termux-actions[bot]
2022-03-29 13:28:59 +00:00
parent e13c34f1da
commit d64d2a99c1

View File

@@ -89,8 +89,8 @@ termux_github_api_get_tag() {
local tag_name
if [[ "${http_code}" == "200" ]]; then
if jq --exit-status --raw-output "${jq_filter}" <<<"${response}" >/dev/null; then
tag_name="$(jq --exit-status --raw-output "${jq_filter}" <<<"${response}")"
if jq --exit-status --raw-output "${jq_filter}" <<<"${response:4}" >/dev/null; then
tag_name="$(jq --exit-status --raw-output "${jq_filter}" <<<"${response:4}")"
else
termux_error_exit "ERROR: Failed to parse tag name from: '${response}'"
fi