From 1903b597eda6a9abed3e2dff193e3df0efa9de2b Mon Sep 17 00:00:00 2001 From: Joseph Donofry Date: Mon, 24 Oct 2022 21:37:50 -0400 Subject: [PATCH] Use ditto vs zip to ensure symlink preservation and maybe other things I missed --- .ci/macos/notarize.sh | 2 -- .cirrus.yml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.ci/macos/notarize.sh b/.ci/macos/notarize.sh index a397c1c3..0505dcd2 100755 --- a/.ci/macos/notarize.sh +++ b/.ci/macos/notarize.sh @@ -22,8 +22,6 @@ if [ "${CI_PIPELINE_TRIGGERED}" ]; then # so move it to the right place for the rest of the process. ( cd build || exit unzip nheko.zip - mv build/nheko.app . - rm -rf build ) fi diff --git a/.cirrus.yml b/.cirrus.yml index 03f7b1a6..a44c2e58 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -11,7 +11,7 @@ task: - export PATH="$(brew --prefix qt5)/bin/:${PATH}" - ./.ci/macos/build.sh zip_script: - - zip -r build/nheko.zip build/nheko.app + - ditto -c -k --sequesterRsrc --keepParent build/nheko.app build/nheko.zip gitlab_script: - curl -X POST --fail