handle build errors

This commit is contained in:
Eugene Pankov
2019-06-27 11:47:57 +02:00
parent 2188eef202
commit 986bdf8e24
6 changed files with 8 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ 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.BUILD_SOURCEBRANCH !== 'refs/heads/master') {
return
}
console.log('afterSign hook triggered', params)