bundle
Upload, get, list and delete bundles with hotcodepush bundle, the uploaded builds a release hands to a channel.
hotcodepush bundle uploads and manages bundles, the uploaded builds of the app's JavaScript and assets, numbered per app.
A release hands one to a channel. Since release create runs the same upload first, bundle upload is for a build released later. The signing rules are on Sign your bundles.
upload
Upload a build as a bundle, signed where a key is configured. Only the files the app lacks move, then the full pack. Nothing is released.
Source maps, dotfiles and the native glue, cordova.js, cordova_plugins.js and plugins/, stay out, and above 512 MB the upload is refused (limits).
Cordova's merges/ files ride a release only when --path names the platform's www.
| Option | Type | Description |
|---|---|---|
--bundle-version <label> | string | The bundle's version label. Defaults to the project's package.json version. |
--git-message <subject> | string | The commit message subject to record, over the detected one. |
--git-ref <ref> | string | The branch or tag to record, over the detected one. |
--git-sha <sha> | string | The commit to record, over the detected one. |
--no-git | boolean | Detect no git provenance. The typed --git-* flags still apply. |
--path <dir> | string | The build to upload, the framework's build output by default: on React Native and Expo one platform's prepared bundle, Capacitor's webDir or Cordova's www. |
--platform <list> | string | The platforms the bundle serves, ios,android by default. |
--private-key-path <file> | string | The private key file to sign with, as signing-key create wrote it. In CI, HOTCODEPUSH_SIGNING_KEY holds its content. |
hotcodepush bundle upload
hotcodepush bundle upload --path dist --bundle-version 1.4.2 --platform ios --jsonget
Print a bundle, by its number or id, with its deltas.
| Option | Type | Description |
|---|---|---|
--bundle <number|id> | string | The bundle, by its number or id. |
hotcodepush bundle get --bundle 17
hotcodepush bundle get --bundle 17 --jsonlist
List an app's bundles, newest first: the uploaded ones by default, the ones binaries ship with --source binary, both with --source all. A bundle a store build ships carries no number, and no release can carry it.
| Option | Type | Description |
|---|---|---|
--bundle-version <label> | string | Only the bundles carrying this version label. |
--limit <count> | number | How many to list, at most 100; 50 by default. |
--offset <count> | number | How many to skip: the offset the previous page ended with. |
--source <source> | all | binary | upload | upload is the bundles a release can carry, binary is the ones binaries ship, which have no number, and all is both. Defaults to upload. |
hotcodepush bundle list
hotcodepush bundle list --source all --bundle-version 1.4.2 --jsondelete
Delete a bundle now. One a release serves or a store build embeds is refused.
Confirms once (--yes in a script).
| Option | Type | Description |
|---|---|---|
--bundle <number|id> | string | The bundle, by its number or id. |
hotcodepush bundle delete --bundle 17
hotcodepush bundle delete --bundle 17 --yes --jsonLast updated on