@better-update/cli 0.15.3 → 0.15.4

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.
package/dist/index.mjs CHANGED
@@ -28,7 +28,7 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
28
28
 
29
29
  //#endregion
30
30
  //#region package.json
31
- var version = "0.15.3";
31
+ var version = "0.15.4";
32
32
 
33
33
  //#endregion
34
34
  //#region src/lib/interactive-mode.ts
@@ -5127,6 +5127,12 @@ const applyTargetSigning = (options) => Effect.gen(function* () {
5127
5127
 
5128
5128
  //#endregion
5129
5129
  //#region src/lib/ios-export-options.ts
5130
+ const XCODE_METHOD = {
5131
+ "app-store": "app-store-connect",
5132
+ "ad-hoc": "release-testing",
5133
+ development: "debugging",
5134
+ enterprise: "enterprise"
5135
+ };
5130
5136
  const escapeXml = (value) => value.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll("\"", "&quot;").replaceAll("'", "&apos;");
5131
5137
  const boolTag = (value) => value ? "<true/>" : "<false/>";
5132
5138
  /**
@@ -5145,7 +5151,7 @@ const renderExportOptionsPlist = ({ method, teamId, provisioningProfiles, compil
5145
5151
  "<plist version=\"1.0\">",
5146
5152
  "<dict>",
5147
5153
  " <key>method</key>",
5148
- `\t<string>${escapeXml(method)}</string>`,
5154
+ `\t<string>${escapeXml(XCODE_METHOD[method])}</string>`,
5149
5155
  " <key>teamID</key>",
5150
5156
  `\t<string>${escapeXml(teamId)}</string>`,
5151
5157
  " <key>signingStyle</key>",