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.