Upload to remote
Stage a packed .wvb version on the remote so you can deploy it later.
wvb upload sends a packed .wvb to your configured remote. Uploading stages a version — it does not make it current.
Upload a version
wvb upload app --version 1.2.0By default wvb upload packs pack.srcDir, computes an integrity hash, signs the bundle (when signing is configured), then uploads through remote.uploader. On success it prints the bundle endpoint.
To upload a bundle you already built, skip packing and point at the file:
wvb upload app --version 1.2.0 --no-pack --file ./build/app.wvbPass --force to overwrite a version that already exists on the remote.
Stage vs deploy
--deploy defaults to false, so an upload only stages the version. Clients keep receiving the previously deployed version until you activate this one.
- Upload stores the version on the remote.
- Deploy flips which version clients download.
--channel applies only with --deploy. To upload and activate in one step, add --deploy (and
--channel beta to target a channel).
Requirements
Uploading requires remote.uploader in your config. The optional --deploy step also needs remote.deployer. See Remote configuration.