electron-builder-notarize
electron-builder-notarize copied to clipboard
Env variable name validation error
When following this project's readme on setting the environment variables, electron-builder would throwing the following error, and the whole build fails.
Env vars APPLE_API_KEY, APPLE_API_KEY_ID and APPLE_API_ISSUER need to be set
The root cause is the inconsistent env variable names. This project requires APPLE_API_KEY_ISSUER
but electron-builder validate against APPLE_API_ISSUER
. Either one of them need change.
https://github.com/karaggeorge/electron-builder-notarize/blame/4dde50bfd63b45157bf2058fc0366d8f59ce115f/validate.js#L13
https://github.com/electron-userland/electron-builder/blob/fa6fc16040a93c6ee751a7a27ab6eeb1dbdd31a7/packages/app-builder-lib/src/macPackager.ts#L537