CLI

wvb upload

Pack, hash, sign, and upload a bundle to the configured remote, with an optional deploy step.

wvb upload publishes a bundle to your remote server. By default it runs the full pipeline in order — pack, then integrity, then signature, then upload — so a single command turns your built assets into a signed, integrity-checked bundle on the remote. The upload step requires remote.uploader in your config; the optional deploy step at the end also requires remote.deployer.

wvb upload                                       # uses config defaults
wvb upload app --version 1.2.0
wvb upload app --version 1.2.0 --deploy --channel beta
wvb upload --no-pack --file ./build/app.wvb --force

Options

OptionAliasesDefaultDescription
BUNDLEfrom config / --file nameBundle name. Positional argument.
--version-Vconfig or package.json versionVersion to publish.
--file-Fresolved output pathPath to the .wvb to upload.
--forcefalseOverwrite if the version already exists on the remote.
--deployfalseDeploy the version after uploading.
--channelChannel to deploy to. Used with --deploy.
--pack-PtruePack from pack.srcDir before uploading. Pass --no-pack to skip.
--skip-integrityfalseSkip computing the integrity hash.
--skip-signaturefalseSkip signing the bundle.
--config-Cconfig auto-discoveryPath to the config file.
--cwdprocess.cwd()Working directory for resolving paths.

The version is the --version (-V) flag, not a positional argument. The first positional is the bundle name. --deploy defaults to false, so an upload publishes the version without making it current — clients keep receiving the previously deployed version until you deploy this one.

Pipeline

wvb upload runs these stages in order:

  1. Pack — packs pack.srcDir into a .wvb archive. Skip with --no-pack and pass an existing bundle through --file.
  2. Integrity — computes the integrity hash. Skip with --skip-integrity.
  3. Signature — signs the bundle. Skip with --skip-signature.
  4. Upload — sends the bundle to the remote through remote.uploader.
  5. Deploy (optional) — runs only with --deploy, marking the uploaded version current through remote.deployer.

On success the command prints the bundle endpoint.

Requirements

For the publishing model and a local-testing walkthrough, see Building a remote.

On this page