From 81e9291c48ee1741a424521a8982e9da8617dd2b Mon Sep 17 00:00:00 2001 From: Amine Mouafik Date: Thu, 19 Sep 2019 14:34:03 +0700 Subject: Limit notarization to tags builds --- build-helpers/notarize.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-helpers/notarize.js b/build-helpers/notarize.js index 1504c7cec..a1f92dfb3 100644 --- a/build-helpers/notarize.js +++ b/build-helpers/notarize.js @@ -2,7 +2,8 @@ const { notarize } = require('electron-notarize'); exports.default = async function notarizing(context) { const { electronPlatformName, appOutDir } = context; - if (electronPlatformName !== 'darwin') { + const isTagBuild = process.env.TRAVIS_TAG; + if (electronPlatformName !== 'darwin' && !isTagBuild) { return; } -- cgit v1.2.3-54-g00ecf