summary refs log tree commit diff
path: root/.ci/update-github-release.sh
diff options
context:
space:
mode:
authorJoseph Donofry <rubberduckie3554@gmail.com>2023-02-28 16:16:24 -0500
committerJoseph Donofry <rubberduckie3554@gmail.com>2023-02-28 16:16:24 -0500
commit7a8bfe49400c18eb288952a7b834c057fa652c3b (patch)
treede897ae3b0e5cb311111ea908c4552f94bb86c94 /.ci/update-github-release.sh
parentFix typo in flatpak name for amd64 (diff)
downloadnheko-7a8bfe49400c18eb288952a7b834c057fa652c3b.tar.xz
Fix macOS artifact names and fix jq quotes issue
Diffstat (limited to '.ci/update-github-release.sh')
-rwxr-xr-x.ci/update-github-release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.ci/update-github-release.sh b/.ci/update-github-release.sh
index ac643987..234c1f41 100755
--- a/.ci/update-github-release.sh
+++ b/.ci/update-github-release.sh
@@ -43,7 +43,7 @@ elif [ "$http_code" = "200" ]; then
 fi
 
 echo "Getting upload URL..."
-upload_url="$(echo "$release_json" | jq '."upload_url"')"
+upload_url="$(echo "$release_json" | jq -r '."upload_url"')"
 # get rid of the 'hypermedia' stuff at the end and use a 'real' URL
 echo "Upload URL (hypermedia): ${upload_url}"
 upload_url="$(echo "$upload_url" | sed 's/{?name,label\}/?name/g')"