Skip to content

Commit 0ec2730

Browse files
alichtmanclaude
andcommitted
fix: use correct env var names for electron-builder notarization
electron-builder's built-in notarize expects: APPLE_APP_SPECIFIC_PASSWORD (not APPLE_ID_PASSWORD) APPLE_TEAM_ID (from env, not hardcoded in config) Remove teamId from notarize config and let it read from APPLE_TEAM_ID, which is already passed as an env var. GitHub secret renamed accordingly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 4b6b42d commit 0ec2730

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
- name: Build ${{ matrix.target }}
6969
env:
7070
APPLE_ID: ${{ secrets.APPLE_ID }}
71-
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
71+
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
7272
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
7373
run: npm run package:${{ matrix.target }}
7474

electron-builder.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ files:
88
- package.json
99

1010
mac:
11-
notarize:
12-
teamId: BF3UMC9FSZ
11+
notarize: true
1312
target:
1413
target: dmg
1514
arch:

0 commit comments

Comments
 (0)