Use ditto vs zip to ensure symlink preservation and maybe other things I missed

cirrus_ci_apple_silicon
Joseph Donofry 2 years ago
parent 1fa21af38e
commit 1903b597ed
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
  1. 2
      .ci/macos/notarize.sh
  2. 2
      .cirrus.yml

@ -22,8 +22,6 @@ if [ "${CI_PIPELINE_TRIGGERED}" ]; then
# so move it to the right place for the rest of the process. # so move it to the right place for the rest of the process.
( cd build || exit ( cd build || exit
unzip nheko.zip unzip nheko.zip
mv build/nheko.app .
rm -rf build
) )
fi fi

@ -11,7 +11,7 @@ task:
- export PATH="$(brew --prefix qt5)/bin/:${PATH}" - export PATH="$(brew --prefix qt5)/bin/:${PATH}"
- ./.ci/macos/build.sh - ./.ci/macos/build.sh
zip_script: zip_script:
- zip -r build/nheko.zip build/nheko.app - ditto -c -k --sequesterRsrc --keepParent build/nheko.app build/nheko.zip
gitlab_script: gitlab_script:
- curl -X POST - curl -X POST
--fail --fail

Loading…
Cancel
Save