Publish, install, and upgrade
Uploading an App, publishing it in the store, and installing it for a merchant or organization are separate steps. These tool commands apply to CLI 0.7.0.
From source to release
| Step | Result | What it does not do |
|---|---|---|
app build | Build the extension bundle | Upload or install |
app package --version 0.1.0 | Write out/<handle>-0.1.0.gwapp | Deploy App Home or your backend |
app deploy --version 0.1.0 | Upload and save a Portal technical draft | Automatically submit or publish |
Add --submit | Submit the saved version for review | Automatically approve |
| Approve and publish | An authorized reviewer selects a distributable release and Listing | Replace existing installations in place |
| Merchant / organization consents to installation | Create an installation and authorization at the destination | Complete your App's own business configuration |
Check configuration, permissions, and the destination before submitting from a linked App project:
pnpm exec gowarehouse app config validate
pnpm exec gowarehouse app deploy --version 0.1.0 --submit
pnpm exec gowarehouse app versions list --jsondeploy writes a remote draft; --submit submits it for review. Run them only when you intend those changes. Upload success still requires Portal approval / publication and installation at the destination.
Existing installation versions
An installation pins an approved release snapshot. Publishing a new version or rolling back the store publication does not automatically replace existing users' modules.
GoWarehouse deployments supporting installation upgrades let users check for updates on the App management page, review versions and permissions, and explicitly confirm the upgrade. An upgrade preserves installation identity, changes its release and authorization, and revokes old instances, grants, and refresh families. Your backend must handle renewed authorization.
Older tool READMEs may describe uninstalling and reinstalling for every update. Follow the upgrade capability actually offered by the destination deployment. If no upgrade entry is available, check its version before treating reinstallation as the first troubleshooting step.
Host updates and App updates
An internal Host transport update does not require an App release when the App-facing contract stays compatible. For example, order metadata can move to Host-executed platform operations while still exposing request(). An internal API path change alone does not require every App to be reinstalled.
Adding scopes, changing origins, or updating an App module requires a new release, review, and user consent. Do not rewrite approved snapshots to expand permissions.
Verification and recovery
Check the actual Publication and installed version after release, not just the latest draft. On a revision conflict, reread remote state and inspect the differences before updating. Rolling back Publication changes future distribution; recovery for an existing installation requires separate attention.
See the Admin App or Operator App manual for installation, and Versions and compatibility for tool and deployment versions.