diff options
author | admin <admin@yosemite.local> | 2017-12-09 13:12:21 -0800 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-12-20 15:35:48 +0100 |
commit | 5db1cb2bb43640a60186ad8c4055dd2bf6fc98e1 (patch) | |
tree | e44783cf82ed77a6f13e1faef64a6661e04df2b1 /pkg/bundles/build.mk | |
parent | 86fd23bdb0312b5b69062116128c64952bbec57f (diff) |
[pkg] add osx bundle script inside venv
Diffstat (limited to 'pkg/bundles/build.mk')
-rw-r--r-- | pkg/bundles/build.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkg/bundles/build.mk b/pkg/bundles/build.mk index 1a2e7932..a941fdf4 100644 --- a/pkg/bundles/build.mk +++ b/pkg/bundles/build.mk @@ -3,7 +3,7 @@ OSX_RES = dist/Bitmask.app/Contents/Resources OSX_CON = dist/Bitmask.app/Contents/MacOS OSX_CERT = "Developer ID Installer: LEAP Encryption Access Project" - +BUILD_RELEASE?=no default: echo "enter 'make bundle or make bundle_osx'" @@ -81,7 +81,12 @@ bundle_osx_missing: bundle_osx_pkg: 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 + @if [ $(BUILD_RELEASE) = no ]; then\ + echo "[!] BUILD_RELEASE=no, skipping signature";\ + else\ + echo "[+] Signing the bundle";\ + productsign --sign $(OSX_CERT) dist/Bitmask-$(NEXT_VERSION)_pre.pkg dist/Bitmask-$(NEXT_VERSION).pkg;\ + fi bundle_linux: bundle bundle_linux_gpg bundle_linux_vpn bundle_linux_helpers |