Maybe fix key naming issue

This commit is contained in:
Joseph Donofry 2023-02-27 18:02:31 -05:00
parent caa1c4c565
commit b4148d9ca5
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB

View file

@ -37,7 +37,7 @@ elif [ "$http_code" = "200" ]; then
"https://api.github.com/repos/Nheko-Reborn/nheko/releases/tags/$CI_COMMIT_TAG")
fi
upload_url="$(echo "$release_json" | jq ".upload-url")"
upload_url="$(echo "$release_json" | jq '."upload-url"')"
# get rid of the 'hypermedia' stuff at the end and use a 'real' URL
upload_url="$(echo "$upload_url" | sed 's/{?name,label\}/?name/g')"