Sign MacOS bundle with Ad Hoc (required by arm64)

This commit is contained in:
Benau 2021-10-04 00:32:43 +08:00
parent 9bf537ab35
commit db03304cf1

View File

@ -148,6 +148,9 @@ jobs:
rm stk-assets-full.zip
cd ../../../../..
mv ./macosx-arm64/supertuxkart.app SuperTuxKart.app
# Use Ad Hoc certificate for now, use Apple developer certificate after STK is on App Store later
codesign --force -s - SuperTuxKart.app/Contents/libs/*.dylib
codesign --force --deep -s - SuperTuxKart.app
zip -r SuperTuxKart-${{ env.release_tag }}-mac.zip SuperTuxKart.app
- name: Create release
if: ${{ env.release_tag != '' }}