You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
197 B

#!/bin/bash
set -x
set -e
if ! [ -n "$SIGN" ]; then
echo "No SIGN environment var. Skipping codesign." >&2
exit 0
fi
productsign --sign "$SIGN" "$PKG" "$PKG"-SIGNED
mv "$PKG"-SIGNED "$PKG"