annotate deploy/src/archive-tip.sh @ 2265:d33dff02b39b sandbox-notarize

Work on sandboxing (possibly) and using the hardened runtime for notarization. Supply appropriate bundle ID for helpers as well as main application, and request inherited sandbox entitlements. Currently works with sandboxing (apparently) but not yet with the hardened runtime, where we can't load plugins signed by third parties even with the com.apple.security.cs.disable-library-validation entitlement because their team IDs don't match the host. Possibly that exception is supposed to be requested some other way?
author Chris Cannam
date Thu, 25 Apr 2019 16:46:02 +0100
parents b578440bbca6
children 7535f13569fa
rev   line source
Chris@718 1 #!/bin/bash
Chris@718 2
Chris@1868 3 id=`hg id | awk '{ print $1; }'`
Chris@718 4
Chris@1868 5 case "$id" in
Chris@1868 6 *+) echo "ERROR: Current working copy has been modified - unmodified copy required"; exit 2;;
Chris@1868 7 *);;
Chris@1868 8 esac
Chris@718 9
Chris@1868 10 echo "Packaging from id $id..."
Chris@718 11
Chris@1868 12 hg update -r"$id"
Chris@1868 13
Chris@1869 14 ./repoint archive /tmp/sonic-visualiser-"$id".tar.gz --exclude sv-dependency-builds repoint.pri
Chris@1868 15
Chris@1868 16 echo Done
Chris@1868 17 echo
Chris@1868 18