summaryrefslogtreecommitdiff
path: root/osx/signbundle
blob: d9e6a5014ba31b5093c38ac1e38226c34650a1c8 (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/RiseupVPN-OSX-$2-signed.pkg