Skip to content

Commit

Permalink
fix: mac notarization issue when checking env password (#7884)
Browse files Browse the repository at this point in the history
  • Loading branch information
mifi committed Nov 19, 2023
1 parent 3c26627 commit 6fa8a27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/silver-buckets-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-lib": patch
---

fix: mac notarization issue checking password
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/macPackager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ export default class MacPackager extends PlatformPackager<MacConfiguration> {
const appleIdPassword = process.env.APPLE_APP_SPECIFIC_PASSWORD

// option 1: app specific password
if (appleId || !appleIdPassword) {
if (appleId || appleIdPassword) {
if (!appleId) {
throw new InvalidConfigurationError(`APPLE_ID env var needs to be set`)
}
Expand Down

0 comments on commit 6fa8a27

Please sign in to comment.