1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-23 10:32:29 +03:00

enabled notarization on travis

This commit is contained in:
Eugene Pankov 2019-07-04 12:25:39 +02:00
parent 7b249a82d7
commit 4441bc7e05

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.BUILD_SOURCEBRANCH !== 'refs/heads/master') {
if (process.platform !== 'darwin' || process.env.BUILD_SOURCEBRANCH !== 'refs/heads/master' || process.env.TRAVIS_BRANCH && !process.env.TRAVIS_PULL_REQUEST_BRANCH) {
return
}
console.log('afterSign hook triggered', params)