We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23f0b37 commit 9dbc789Copy full SHA for 9dbc789
packages/electron-builder/src/macPackager.ts
@@ -115,8 +115,9 @@ export default class MacPackager extends PlatformPackager<MacOptions> {
115
warn("macOS application code signing is supported only on macOS, skipping.")
116
return
117
}
118
- if (isPullRequest()) {
119
- log("Current build is a part of pull request, code signing will be skipped")
+ if (process.env.CSC_FOR_PULL_REQUEST !== "true" && isPullRequest()) {
+ // https://github.com/electron-userland/electron-builder/issues/1524
120
+ log("Current build is a part of pull request, code signing will be skipped. Set env CSC_FOR_PULL_REQUEST to true to force code signing.")
121
122
123
0 commit comments