summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkali <kali@leap.se>2017-08-05 15:12:26 -0700
committerKali Kaneko <kali@leap.se>2017-08-14 18:09:27 -0400
commit736c57502d75dbf0d1780260f8788425403d25e6 (patch)
treeb3e5ac4bdff51793c1cb985019b118b43e8b0d5e
parent201a751f0a0da9fa0427d683cb56725a40a00d89 (diff)
[pkg] use productsign to sign the flat package
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d4f3afe7..95aa8403 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
DIST=dist/bitmask
NEXT_VERSION = $(shell cat pkg/next-version)
DIST_VERSION = dist/bitmask-$(NEXT_VERSION)/
+OSX_CERT = "Developer ID Installer: LEAP Encryption Access Project"
include pkg/pyinst/build.mk
include pkg/thirdparty/openvpn/build.mk
@@ -70,7 +71,8 @@ docker_container:
cd pkg/docker_bundle && docker build -t mybundle .
osx_pkg:
- pkg/osx/quickpkg --output dist/Bitmask-$(NEXT_VERSION).pkg --scripts pkg/osx/scripts/ dist/Bitmask.app/
+ pkg/osx/quickpkg --output dist/Bitmask-$(NEXT_VERSION)_pre.pkg --scripts pkg/osx/scripts/ dist/Bitmask.app/
+ productsign --sign $(OSX_CERT) dist/Bitmask-$(NEXT_VERSION)_pre.pkg dist/Bitmask-$(NEXT_VERSION).pkg
cleanpkg:
rm -rf dist build