Skip to content

releasePromoteCommand()

PromptScript API


releasePromoteCommand(reference, options): Promise<void>

Defined in: cli/src/commands/release/promote.ts:276

Point the label of an environment at a bundle. The first environment recompiles the source with policies and accepts only the hash it produces; every later one takes the previous environment’s hash. The bundle file must exist and verify.

Parameters

reference

string

options

ReleasePromoteOptions

Returns

Promise<void>