From ba5a5d9f5bc95773f926b2ec9213e4edf8fb8ab1 Mon Sep 17 00:00:00 2001 From: Amine Mouafik Date: Thu, 19 Sep 2019 14:53:11 +0700 Subject: Fix notarization condition to target only tags builds --- build-helpers/notarize.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-helpers/notarize.js b/build-helpers/notarize.js index a1f92dfb3..d799a5624 100644 --- a/build-helpers/notarize.js +++ b/build-helpers/notarize.js @@ -3,7 +3,7 @@ const { notarize } = require('electron-notarize'); exports.default = async function notarizing(context) { const { electronPlatformName, appOutDir } = context; const isTagBuild = process.env.TRAVIS_TAG; - if (electronPlatformName !== 'darwin' && !isTagBuild) { + if (electronPlatformName !== 'darwin' || !isTagBuild) { return; } -- cgit v1.2.3-70-g09d2