Skip to content

Commit 4b78321

Browse files
committed
Fix notarization with an apple API key
Notarization wasn't actually running when the API key is set and notarize was set to true. The notarize tool library throws when a API key is provided and teamId is set, so you have to set notarize to true, but when you do currently, the step never runs.
1 parent 47e66ca commit 4b78321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app-builder-lib/src/macPackager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ export default class MacPackager extends PlatformPackager<MacConfiguration> {
544544
return proj
545545
}
546546
const { teamId } = options as NotarizeNotaryOptions
547-
if (teamId && (legacyLogin || notaryToolLogin)) {
547+
if ((teamId || options === true) && (legacyLogin || notaryToolLogin)) {
548548
const proj: NotaryToolStartOptions = {
549549
appPath,
550550
...(legacyLogin ?? notaryToolLogin!),

0 commit comments

Comments
 (0)