From 2188eef202c4a1aa8c17c1eaf885ea144269236e Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Thu, 27 Jun 2019 11:23:03 +0200 Subject: [PATCH] . --- build/mac/afterSignHook.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/mac/afterSignHook.js b/build/mac/afterSignHook.js index 8a7aa7a9..bfd6bbbb 100644 --- a/build/mac/afterSignHook.js +++ b/build/mac/afterSignHook.js @@ -5,8 +5,9 @@ const path = require('path') const notarizer = require('electron-notarize') module.exports = async function (params) { + console.log('env: ', process.env) // notarize the app on Mac OS only. - if (process.platform !== 'darwin' || process.env.BRANCH !== 'refs/heads/master') { + if (process.platform !== 'darwin'){// || process.env.BRANCH !== 'refs/heads/master') { return } console.log('afterSign hook triggered', params)