Skip to content

Commit 62029b0

Browse files
authored
fix(mac): when using default osx-sign, specifically pass in identity name instead of hash (#8908)
1 parent 67b6f71 commit 62029b0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/sixty-crabs-approve.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"app-builder-lib": patch
3+
---
4+
5+
fix: when using osx-sign, specifically pass in identity name instead of hash

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ export class MacPackager extends PlatformPackager<MacConfiguration> {
438438
customSign ? "executing custom sign" : "signing"
439439
)
440440

441-
return customSign ? Promise.resolve(customSign(opts, this)) : sign(opts)
441+
return customSign ? Promise.resolve(customSign(opts, this)) : sign({ ...opts, identity: identity ? identity.name : undefined })
442442
}
443443

444444
//noinspection JSMethodCanBeStatic

0 commit comments

Comments
 (0)