[Write] Ensure an App Store version exists
asc_version_ensureEnsure an App Store version for your app, returning the existing version or creating it if missing. Supports dry-run preview.
Instructions
Write. Returns the App Store version if it already exists, or creates it if not — saving the agent from a manual get/exists-check/create/conflict sequence. Returns { version, created }. Supports dryRun.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | Bundle id, app name, or App Store Connect app id | |
| dryRun | No | Preview only, do not create | |
| platform | No | IOS | |
| copyright | No | ||
| releaseType | No | ||
| versionString | Yes | Version number, e.g. "1.1" | |
| earliestReleaseDate | No | ISO 8601 date-time, only meaningful with releaseType SCHEDULED |