annotate deploy/osx/sign.sh @ 399:a3912193ce69 tip

Default branch is now named default on git as well as hg, in case we ever want to switch to mirroring in the other direction
author Chris Cannam
date Thu, 27 Aug 2020 15:57:37 +0100
parents 78af557445b2
children
rev   line source
Chris@382 1 #!/bin/bash
Chris@382 2
Chris@382 3 set -e
Chris@382 4
Chris@382 5 exe="$1"
Chris@382 6
Chris@382 7 if [ ! -f "$exe" ] || [ -n "$2" ]; then
Chris@382 8 echo "Usage: $0 <executable>"
Chris@382 9 echo " e.g. $0 my-program"
Chris@382 10 exit 2
Chris@382 11 fi
Chris@382 12
Chris@382 13 set -u
Chris@382 14
Chris@382 15 entitlements=deploy/osx/Entitlements.plist
Chris@382 16
Chris@382 17 codesign -s "Developer ID Application: Chris Cannam" -fv --options runtime --entitlements "$entitlements" "$exe"
Chris@382 18