@capgo/cli 8.1.10 → 8.2.1

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.
@@ -5397,7 +5397,6 @@ export declare function getRemoteDependencies(supabase: SupabaseClient<Database>
5397
5397
  ios_checksum?: string | undefined;
5398
5398
  android_checksum?: string | undefined;
5399
5399
  }>>;
5400
- export declare function checkChecksum(supabase: SupabaseClient<Database>, appId: string, channel: string, currentChecksum: string): Promise<void>;
5401
5400
  export type { Compatibility, CompatibilityDetails, IncompatibilityReason } from './schemas/common';
5402
5401
  export declare function getAppId(appId: string | undefined, config: CapacitorConfig | undefined): any;
5403
5402
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
3
  "type": "module",
4
- "version": "8.1.10",
4
+ "version": "8.2.1",
5
5
  "description": "A CLI to upload to capgo servers",
6
6
  "author": "Martin martin@capgo.app",
7
7
  "license": "Apache 2.0",
@@ -36,7 +36,7 @@ Use this skill for OTA update workflows in Capgo Cloud.
36
36
  ### `bundle upload [appId]`
37
37
 
38
38
  - Alias: `u`
39
- - Example: `npx @capgo/cli@latest bundle upload com.example.app --path ./dist --channel production`
39
+ - Example: `npx @capgo/cli@latest bundle upload com.example.app --path ./dist --channel production,beta`
40
40
  - Key behavior:
41
41
  - Bundle version must be greater than `0.0.0` and unique.
42
42
  - Deleted versions cannot be reused.
@@ -44,10 +44,12 @@ Use this skill for OTA update workflows in Capgo Cloud.
44
44
  - Encryption is recommended for trustless distribution.
45
45
  - Interactive prompts are disabled automatically in CI and other non-interactive sessions so uploads do not block automation.
46
46
  - Optional upload prompts can remember the user's answer on the current machine so future uploads can skip the same question.
47
+ - `--channel` accepts a single channel or a comma-separated list such as `production,beta`.
48
+ - When multiple channels are provided, channels that already have the uploaded checksum are skipped and the remaining channels are assigned.
47
49
  - Use `--qr-preview` to print a terminal QR code for the uploaded bundle after a successful upload. App preview must be enabled first.
48
50
  - Important options:
49
51
  - `-p, --path <path>`
50
- - `-c, --channel <channel>`
52
+ - `-c, --channel <channel[,channel...]>`
51
53
  - `-e, --external <url>`
52
54
  - `--iv-session-key <key>`
53
55
  - `-b, --bundle <bundle>`
@@ -56,7 +58,7 @@ Use this skill for OTA update workflows in Capgo Cloud.
56
58
  - `--min-update-version <minUpdateVersion>`
57
59
  - `--auto-min-update-version`
58
60
  - `--ignore-metadata-check`
59
- - `--fail-on-incompatible` (fail the upload instead of uploading when the bundle is incompatible with the channel's current native packages; cannot be combined with `--ignore-metadata-check`)
61
+ - `--fail-on-incompatible` (fail the upload instead of uploading when the bundle is incompatible with a target channel's current native packages; cannot be combined with `--ignore-metadata-check`)
60
62
  - `--ignore-checksum-check`
61
63
  - `--force-crc32-checksum`
62
64
  - `--timeout <timeout>`