diff options
Diffstat (limited to 'build-helpers')
-rw-r--r-- | build-helpers/notarize.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build-helpers/notarize.js b/build-helpers/notarize.js index 26a627bea..fc463f749 100644 --- a/build-helpers/notarize.js +++ b/build-helpers/notarize.js | |||
@@ -2,8 +2,7 @@ const { notarize } = require("electron-notarize"); | |||
2 | 2 | ||
3 | exports.default = async function notarizing(context) { | 3 | exports.default = async function notarizing(context) { |
4 | const { electronPlatformName, appOutDir } = context; | 4 | const { electronPlatformName, appOutDir } = context; |
5 | const isTagBuild = process.env.TRAVIS_TAG; | 5 | if (electronPlatformName !== "darwin" || process.env.TRAVIS_BRANCH !== 'release') { |
6 | if (electronPlatformName !== "darwin" || !isTagBuild) { | ||
7 | return; | 6 | return; |
8 | } | 7 | } |
9 | 8 | ||