CLI reference / release / submit

stado release submit

Invocation

stado release submit [OPTIONS] <--source <SOURCE>|--build <BUILD>>

Purpose

Snapshot, qualify, build, sign, publish, deliver, and promote a product

Required inputs and options

Input or optionContract
--source <SOURCE>Build this checkout's committed tree first, then release that build
--commit <COMMIT>Read this Git commit without changing or requiring a clean checkout: its full id, or an abbreviation Git resolves to exactly one commit in the checkout
--version <VERSION>The version the source declares; required with --source
--build <BUILD>Release a build that has already passed, by the id `stado build status` prints. A build that is still waiting or has failed is refused
--channel <CHANNEL>[default: candidate] [possible values: candidate, stable]
--jsonCommand option; required or optional as shown in the invocation.

Output and state effect

It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.

Refusals

  • The version the source declares; required with --source
  • A build that is still waiting or has failed is refused
  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.