2021-04-07 16:39:26 +00:00
|
|
|
#!/bin/bash -ex
|
|
|
|
cd build/Binaries
|
|
|
|
mv metaforce-gui.app Metaforce.app
|
|
|
|
# order is important
|
|
|
|
for i in visigen hecl metaforce crashpad_handler; do
|
|
|
|
codesign --timestamp --options runtime -s "$CODESIGN_IDENT" Metaforce.app/Contents/MacOS/$i
|
|
|
|
done
|
|
|
|
macdeployqt Metaforce.app -sign-for-notarization="$CODESIGN_IDENT" -no-strip
|
|
|
|
create-dmg Metaforce.app --identity="$CODESIGN_IDENT" "$GITHUB_WORKSPACE"
|
2021-05-07 07:11:08 +00:00
|
|
|
xcrun altool -t osx -f "$GITHUB_WORKSPACE"/*.dmg --primary-bundle-id com.axiodl.Metaforce --notarize-app \
|
2021-04-07 16:39:26 +00:00
|
|
|
-u "$ASC_USERNAME" -p "$ASC_PASSWORD" --team-id "$ASC_TEAM_ID"
|