Move to notarytool to sign on mac.
This commit is contained in:
@@ -11,17 +11,17 @@ DMGBASE=$(basename $4)
|
||||
|
||||
TARBALL=$DMGDIRBASE.tar
|
||||
|
||||
HOST=mary21.local
|
||||
|
||||
pushd $(dirname $DMGDIR)
|
||||
rm -f /tmp/$TARBALL
|
||||
tar cf /tmp/$TARBALL $DMGDIRBASE
|
||||
popd
|
||||
|
||||
rsync -a $(dirname $0)/ tom@mary12.local:/tmp/renpy-mac-scripts/
|
||||
rsync -a $(dirname $0)/ tom@$HOST:/tmp/renpy-mac-scripts/
|
||||
|
||||
rsync -a /tmp/$TARBALL tom@mary12.local:/tmp
|
||||
|
||||
ssh -t tom@mary12.local "'/tmp/renpy-mac-scripts/mac_dmg_server.sh' '$IDENTITY' '$VOLNAME' '$DMGDIRBASE' '$DMGBASE'"
|
||||
|
||||
rsync -a tom@mary12.local:/tmp/$DMGBASE $DMG
|
||||
rsync -a /tmp/$TARBALL tom@$HOST:/tmp
|
||||
|
||||
ssh -t tom@$HOST "'/tmp/renpy-mac-scripts/mac_dmg_server.sh' '$IDENTITY' '$VOLNAME' '$DMGDIRBASE' '$DMGBASE'"
|
||||
|
||||
rsync -a tom@$HOST:/tmp/$DMGBASE $DMG
|
||||
|
||||
@@ -20,19 +20,7 @@ codesign --timestamp --verbose -s "$1" "$DMGBASE"
|
||||
date
|
||||
echo "Submitting for notarization."
|
||||
|
||||
# --transport Aspera \
|
||||
|
||||
xcrun altool --asc-provider XHTE5H7Z79 -u tom@rothamel.us -p "@keychain:altool" \
|
||||
--notarize-app \
|
||||
--primary-bundle-id org.renpy.renpy.dmg \
|
||||
-f "$DMGBASE"
|
||||
|
||||
date
|
||||
echo "Submitted dmg for notarization."
|
||||
|
||||
$(dirname $0)/wait_notarization.py
|
||||
|
||||
sleep 60
|
||||
xcrun notarytool submit --keychain-profile developer-signing --wait "$DMGBASE"
|
||||
|
||||
xcrun stapler staple "$DMGBASE"
|
||||
|
||||
|
||||
@@ -10,16 +10,16 @@ APPDIRBASE=$(basename $APPDIR)
|
||||
|
||||
TARBALL=$APPDIRBASE.tar
|
||||
|
||||
HOST=mary21.local
|
||||
|
||||
pushd $APPDIR
|
||||
tar cf /tmp/$TARBALL $APPBASE
|
||||
rsync -a /tmp/$TARBALL tom@mary12:/tmp
|
||||
rsync -a /tmp/$TARBALL tom@$HOST:/tmp
|
||||
|
||||
rsync -a $(dirname $0)/ tom@mary12.local:/tmp/renpy-mac-scripts/
|
||||
rsync -a $(dirname $0)/ tom@$HOST:/tmp/renpy-mac-scripts/
|
||||
|
||||
ssh -t tom@mary12.local "'/tmp/renpy-mac-scripts/mac_sign_server.sh' '$IDENTITY' '$TARBALL' '$APPBASE'"
|
||||
ssh -t tom@$HOST "'/tmp/renpy-mac-scripts/mac_sign_server.sh' '$IDENTITY' '$TARBALL' '$APPBASE'"
|
||||
|
||||
rsync -a tom@mary12.local:/tmp/signed-$TARBALL /tmp
|
||||
rsync -a tom@$HOST:/tmp/signed-$TARBALL /tmp
|
||||
tar xf /tmp/signed-$TARBALL
|
||||
popd
|
||||
|
||||
|
||||
|
||||
@@ -19,20 +19,7 @@ zip -r /tmp/renpy.app.zip "$APP"
|
||||
date
|
||||
echo "Submitting for notarization."
|
||||
|
||||
xcrun altool --asc-provider XHTE5H7Z79 -u tom@rothamel.us -p "@keychain:altool" \
|
||||
--notarize-app \
|
||||
--transport Aspera \
|
||||
--primary-bundle-id org.renpy.renpy \
|
||||
-f /tmp/renpy.app.zip
|
||||
|
||||
|
||||
date
|
||||
echo "Submitted app for notarization."
|
||||
|
||||
$(dirname $0)/wait_notarization.py
|
||||
|
||||
sleep 60
|
||||
|
||||
xcrun notarytool submit --keychain-profile developer-signing --wait /tmp/renpy.app.zip
|
||||
xcrun stapler staple "$APP"
|
||||
|
||||
tar cf "signed-$TARBALL" "$APP"
|
||||
|
||||
Reference in New Issue
Block a user