summaryrefslogtreecommitdiff
path: root/branding/templates/osx/signbundle
blob: 58c42aecdb18034feffc44dff16305afea658b96 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# --------------------------------------------
# Signs a RiseupVPN pkg file
# Usage: signbundle <file> <version>
#
# Use it when you have built it in a
# machine with no access to the certificates.
# --------------------------------------------
OSX_CERT="Developer ID Installer: LEAP Encryption Access Project"
productsign --sign "$OSX_CERT" $1 $1-signed.pkg
mv $1-signed.pkg ../dist/$applicationName-OSX-$2-signed.pkg