Skip to content

Commit

Permalink
fix(mac): use notarytool with only api key auth (#7896)
Browse files Browse the repository at this point in the history
  • Loading branch information
dahchon committed Nov 26, 2023
1 parent 6b84010 commit 65817e0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/metal-adults-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-lib": patch
---

fix notary with pure api key auth
7 changes: 7 additions & 0 deletions packages/app-builder-lib/src/macPackager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,13 @@ export default class MacPackager extends PlatformPackager<MacConfiguration> {
ascProvider: ascProvider || undefined,
}
}
if (notaryToolLogin) {
return {
tool: 'notarytool',

Check warning on line 565 in packages/app-builder-lib/src/macPackager.ts

View workflow job for this annotation

GitHub Actions / test-linux (ArtifactPublisherTest,BuildTest,ExtraBuildTest,RepoSlugTest,binDownloadTest,configura...

Replace `'notarytool'` with `"notarytool"`

Check warning on line 565 in packages/app-builder-lib/src/macPackager.ts

View workflow job for this annotation

GitHub Actions / test-linux (snapTest,debTest,fpmTest,protonTest)

Replace `'notarytool'` with `"notarytool"`
appPath,
...notaryToolLogin,
}
}
return undefined
}
}
Expand Down

0 comments on commit 65817e0

Please sign in to comment.