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

This commit is contained in:
Joseph Donofry 2022-10-24 21:37:50 -04:00
parent 1fa21af38e
commit 1903b597ed
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB
2 changed files with 1 additions and 3 deletions

View file

@ -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

View file

@ -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