Skip to content

Commit aad25b4

Browse files
committed
build: set APPLE_TEAM_ID as environment variable
It is the new recommended way
1 parent eae31d9 commit aad25b4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/release.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ if (process.platform === 'darwin') {
6060
}
6161

6262
const APPLE_TEAM_ID = 'CMXCBCFHDG'
63+
process.env.APPLE_TEAM_ID = APPLE_TEAM_ID
6364

6465
if (TEST_BUILD || gitTag) {
6566
prepareDistDir()
@@ -80,9 +81,6 @@ if (TEST_BUILD || gitTag) {
8081
gatekeeperAssess: false,
8182
entitlements: path.join(__dirname, 'entitlements.mac.plist'),
8283
entitlementsInherit: path.join(__dirname, 'entitlements.mac.plist'),
83-
notarize: {
84-
teamId: APPLE_TEAM_ID,
85-
},
8684
},
8785
win: {
8886
publisherName: 'Ultimate Gadget Laboratories Kft.',

0 commit comments

Comments
 (0)