diff options
Diffstat (limited to 'build-helpers/notarize.js')
-rw-r--r-- | build-helpers/notarize.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build-helpers/notarize.js b/build-helpers/notarize.js index a067a9882..32faa97b8 100644 --- a/build-helpers/notarize.js +++ b/build-helpers/notarize.js | |||
@@ -1,6 +1,11 @@ | |||
1 | exports.default = async function notarizing(context) { | 1 | exports.default = async function notarizing(context) { |
2 | const { electronPlatformName, appOutDir } = context; | 2 | const { electronPlatformName, appOutDir } = context; |
3 | if (electronPlatformName !== 'darwin' || process.env.CSC_IDENTITY_AUTO_DISCOVERY === 'false' || (process.env.GIT_BRANCH_NAME !== 'release' && process.env.GIT_BRANCH_NAME !== 'nightly')) { | 3 | if ( |
4 | electronPlatformName !== 'darwin' || | ||
5 | process.env.CSC_IDENTITY_AUTO_DISCOVERY === 'false' || | ||
6 | (process.env.GIT_BRANCH_NAME !== 'release' && | ||
7 | process.env.GIT_BRANCH_NAME !== 'nightly') | ||
8 | ) { | ||
4 | return; | 9 | return; |
5 | } | 10 | } |
6 | 11 | ||