From 35357601635ad82cac298fe3f3d5c566a017a779 Mon Sep 17 00:00:00 2001 From: Joseph Donofry Date: Fri, 21 Oct 2022 00:27:02 -0400 Subject: [PATCH] Hopefully unzip to the right place --- .ci/macos/notarize.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.ci/macos/notarize.sh b/.ci/macos/notarize.sh index 0b1e07e1..b4ca31e6 100755 --- a/.ci/macos/notarize.sh +++ b/.ci/macos/notarize.sh @@ -19,12 +19,12 @@ if [ "${CI_PIPELINE_TRIGGERED}" ]; then unzip binaries.zip # we zip 'build/nheko.app' in cirrus ci, cirrus itself puts it in a 'build' directory # so move it to the right place for the rest of the process. - mv build/build/nheko.app build - # get rid of the extra build directory - rm -r build/build + ( cd build || exit + unzip nheko.zip + ) fi -if [ -d "build/nheko.app" ]; then +if [ ! -d "build/nheko.app" ]; then echo "nheko.app is missing, you did something wrong!" exit 1 fi