Skip to main content

Breaking change: tcb deploy in CLI v3.9.0 no longer builds

BreakingCLI← Changelog

Starting with CLI v3.9.0 (released 2026-11-03), tcb deploy no longer runs an implicit build. When deploying an app or hosting, it only uploads existing build outputs. For scripts that rely on tcb deploy to build automatically: if there is no build output, the command fails with BUILD_OUTPUT_NOT_FOUND; if an old build output is still in the directory, it is uploaded as is, without a rebuild.

Build before you deploy. You can either run tcb app build followed by tcb deploy, or use tcb app deploy directly.

Change details​

  • buildCommand, installCommand and framework in cloudbaserc are only used to infer the output directory. They are no longer executed.
  • If build output is missing, the command fails with BUILD_OUTPUT_NOT_FOUND.
  • Scripts parsing tcb deploy --json should note that app items in plan add a new buildAppOutputInfo field containing root and outputDir.

Docs: CLI changelog · Declarative deploy · tcb app build