From 7a8bfe49400c18eb288952a7b834c057fa652c3b Mon Sep 17 00:00:00 2001 From: Joseph Donofry Date: Tue, 28 Feb 2023 16:16:24 -0500 Subject: Fix macOS artifact names and fix jq quotes issue --- .ci/macos/notarize.sh | 4 ++-- .ci/update-github-release.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to '.ci') diff --git a/.ci/macos/notarize.sh b/.ci/macos/notarize.sh index cb3d3ef7..345f4828 100755 --- a/.ci/macos/notarize.sh +++ b/.ci/macos/notarize.sh @@ -97,7 +97,7 @@ done VERSION=${CI_COMMIT_SHORT_SHA} if [ -n "$VERSION" ]; then - mv nheko.dmg "nheko-${VERSION}_${PLAT}.dmg" + mv nheko.dmg "nheko-${VERSION}-${PLAT}.dmg" mkdir -p artifacts - cp "nheko-${VERSION}_${PLAT}.dmg" artifacts/ + cp "nheko-${VERSION}-${PLAT}.dmg" artifacts/ fi \ No newline at end of file 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')" -- cgit 1.4.1