@radhya/mach 2.0.37 → 2.0.38
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 +11 -1
- package/dist/index.js +139 -139
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,6 +40,7 @@ mach build --platform android
|
|
|
40
40
|
| `mach credentials` | Manage iOS certificates, provisioning profiles & Android keystores |
|
|
41
41
|
| `mach credentials:service` | Upload App Store Connect or Google Play service credentials |
|
|
42
42
|
| `mach env` | Manage, list, and download environment variables and secrets |
|
|
43
|
+
| `mach version` | Show and seed DB-owned native version counters |
|
|
43
44
|
| `mach config` | Show resolved configuration for a build profile |
|
|
44
45
|
| `mach start` | Start the Metro development server |
|
|
45
46
|
| `mach device` | Register test devices for ad-hoc distribution |
|
|
@@ -479,7 +480,16 @@ Mach can automatically assign the next Android `versionCode` and iOS `buildNumbe
|
|
|
479
480
|
|
|
480
481
|
Counters are scoped by Android package name or iOS bundle identifier, so development, staging, and production apps can advance independently.
|
|
481
482
|
|
|
482
|
-
For existing apps already uploaded to App Store Connect or Google Play, seed the
|
|
483
|
+
For existing apps already uploaded to App Store Connect or Google Play, seed the DB counter once with the latest already-used value. Mach will assign the next value and continue from its own counter after that:
|
|
484
|
+
|
|
485
|
+
```bash
|
|
486
|
+
mach version seed --platform android --value 66
|
|
487
|
+
mach version seed --platform ios --value 82
|
|
488
|
+
mach version show --platform android
|
|
489
|
+
mach version show --platform ios
|
|
490
|
+
```
|
|
491
|
+
|
|
492
|
+
The seed value is the latest value already uploaded to the store; the next build uses seed + 1. Mach does not use environment variables, secrets, App Store Connect lookups, or Google Play lookups as native version counter state.
|
|
483
493
|
|
|
484
494
|
**Usage:**
|
|
485
495
|
|