From 8e934e1b9bb37767ddd082636710e20d864b7c8d Mon Sep 17 00:00:00 2001 From: Joseph Donofry Date: Fri, 21 Oct 2022 00:04:27 -0400 Subject: [PATCH] use curl instead of wget --- .ci/macos/notarize.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.ci/macos/notarize.sh b/.ci/macos/notarize.sh index b3347a83..0b1e07e1 100755 --- a/.ci/macos/notarize.sh +++ b/.ci/macos/notarize.sh @@ -14,7 +14,7 @@ if [ "${CI_PIPELINE_TRIGGERED}" ]; then echo "cirrus build id: ${TRIGGER_BUILD_ID}" cat "${TRIGGER_PAYLOAD}" # download the build artifacts from cirrus api - wget "https://api.cirrus-ci.com/v1/artifact/build/${TRIGGER_BUILD_ID}/binaries.zip" + curl "https://api.cirrus-ci.com/v1/artifact/build/${TRIGGER_BUILD_ID}/binaries.zip" -o binaries.zip # cirrus ci artifacts task name is 'binaries' so that's the zip name. unzip binaries.zip # we zip 'build/nheko.app' in cirrus ci, cirrus itself puts it in a 'build' directory @@ -24,6 +24,11 @@ if [ "${CI_PIPELINE_TRIGGERED}" ]; then rm -r build/build fi +if [ -d "build/nheko.app" ]; then + echo "nheko.app is missing, you did something wrong!" + exit 1 +fi + ( cd build || exit # macdeployqt does not copy symlinks over. # this specifically addresses icu4c issues but nothing else.