@radhya/mach 2.1.1 → 2.1.3
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/README.md +4 -2
- package/dist/index.js +457 -212
- package/docs/frameworks/expo.md +4 -0
- package/docs/frameworks/react-native.md +4 -0
- package/docs/push.md +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -435,9 +435,9 @@ Create a `mach.config.json` in your project root:
|
|
|
435
435
|
| `ios.bundleIdentifier` | iOS bundle ID used for signing, version counter scoping, and submit |
|
|
436
436
|
| `ios.appleTeamId` | Optional global Apple Developer Team ID used for iOS signing. Profile-specific `submit.<profile>.ios.appleTeamId` overrides it |
|
|
437
437
|
| `ios.ascAppId` | App Store Connect app id used for iOS submission |
|
|
438
|
-
| `ios.buildNumber` |
|
|
438
|
+
| `ios.buildNumber` | Use `"auto"` for the next Dashboard counter value, or set an explicit CFBundleVersion such as `"68"` or `"1.2.3"` |
|
|
439
439
|
| `android.package` | Android package name used for signing, version counter scoping, and submit |
|
|
440
|
-
| `android.versionCode` |
|
|
440
|
+
| `android.versionCode` | Use `"auto"` for the next Dashboard counter value, or set an explicit positive integer |
|
|
441
441
|
|
|
442
442
|
### Profile Properties
|
|
443
443
|
|
|
@@ -536,6 +536,8 @@ When `android.versionCode` is set to `"auto"`, Mach assigns an Android versionCo
|
|
|
536
536
|
|
|
537
537
|
When `ios.buildNumber` is set to `"auto"`, Mach assigns the next iOS CFBundleVersion from the scoped Dashboard counter. Concurrent builds are safe because the Dashboard API increments the counter atomically.
|
|
538
538
|
|
|
539
|
+
When either field contains an explicit value, Mach uses that exact value without incrementing the counter. Profile-level `build.<profile>.ios.buildNumber` and `build.<profile>.android.versionCode` values override the root platform values. The resolved Mach value is authoritative: runners reuse the saved assignment, native projects receive it after Expo prebuild, and Mach rejects an artifact whose packaged value differs.
|
|
540
|
+
|
|
539
541
|
This only changes iOS `CFBundleVersion` / build number. It does not bump the public App Store version (`CFBundleShortVersionString`, usually `expo.version` in `app.json`). After a version like `1.17.0` is approved/released, Apple closes that train for new uploads; bump the app version, for example to `1.17.1`, rebuild, then submit.
|
|
540
542
|
|
|
541
543
|
Regular iOS development builds should set `distribution: "development"` and resolve Apple Development certificates/profiles. For custom profile names, Mach follows the profile fields, not the profile name: `environment` chooses Dashboard secrets, and `distribution` / `iosExportMethod` chooses signing. Dev-client builds can keep `distribution: "internal"` and set `developmentClient: true`; Mach will still use development signing credentials while producing an internal installable artifact.
|