This commit is contained in:
Eugene Pankov 2019-06-27 11:23:03 +02:00
parent 87850edc0e
commit 2188eef202

View File

@ -5,8 +5,9 @@ const path = require('path')
const notarizer = require('electron-notarize') const notarizer = require('electron-notarize')
module.exports = async function (params) { module.exports = async function (params) {
console.log('env: ', process.env)
// notarize the app on Mac OS only. // 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 return
} }
console.log('afterSign hook triggered', params) console.log('afterSign hook triggered', params)