metaforce/ci/build-dmg.sh

11 lines
441 B
Bash
Raw Normal View History

#!/bin/bash -ex
2021-06-11 18:19:33 -07:00
cd build/install
2022-06-13 14:05:28 -07:00
for i in Metaforce crashpad_handler; do
if [ -x "Metaforce.app/Contents/MacOS/$i" ]; then
codesign --timestamp --options runtime -s "$CODESIGN_IDENT" "Metaforce.app/Contents/MacOS/$i"
fi
done
2022-06-13 14:05:28 -07:00
create-dmg Metaforce.app --identity="$CODESIGN_IDENT" .
2021-06-12 09:48:20 -07:00
xcrun altool -t osx -f *.dmg --primary-bundle-id com.axiodl.Metaforce \
--notarize-app -u "$ASC_USERNAME" -p "$ASC_PASSWORD" --team-id "$ASC_TEAM_ID"