eas-cli 21.6.0 → 21.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,6 +17,9 @@ const areSetsEqual_1 = tslib_1.__importDefault(require("./expodash/areSetsEqual"
17
17
  async function getCodeSigningInfoAsync(config, privateKeyPath) {
18
18
  const codeSigningCertificatePath = config.updates?.codeSigningCertificate;
19
19
  if (!codeSigningCertificatePath) {
20
+ if (privateKeyPath) {
21
+ throw new Error('--private-key-path was specified, but updates.codeSigningCertificate is not set in the resolved app config. Code signing requires both the certificate in app config and the private key. Ensure codeSigningCertificate (and codeSigningMetadata) are present for this publish, or omit --private-key-path if you do not intend to sign.\nLearn more: https://docs.expo.dev/eas-update/code-signing/');
22
+ }
20
23
  return undefined;
21
24
  }
22
25
  if (!privateKeyPath) {