#!/bin/bash set -e source IDs.sh SAGE_VERSION=`bin/get_sage_version` SAGE_DASH_VERSION=$(echo $SAGE_VERSION | sed s/\\\./\\\-/g) DIST=SageMath-$SAGE_VERSION APP=$DIST/SageMath-$SAGE_DASH_VERSION.app/Contents/Frameworks/Sage.framework OPTIONS="-v --entitlements entitlement.plist --timestamp --options runtime --force" codesign -s $DEV_ID $OPTIONS $APP