summaryrefslogtreecommitdiff
path: root/osx/signbundle
diff options
context:
space:
mode:
Diffstat (limited to 'osx/signbundle')
-rw-r--r--osx/signbundle11
1 files changed, 11 insertions, 0 deletions
diff --git a/osx/signbundle b/osx/signbundle
new file mode 100644
index 0000000..d9e6a50
--- /dev/null
+++ b/osx/signbundle
@@ -0,0 +1,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