dcloud ci releases start

Dispatch the release workflow with the newest releasable commit, or with ref

IAM ci:StartWorkflowChanges state

An explicit ref is dispatched even when it does not qualify (unmet lists what it lacks): the release workflow decides. A dry run needs only ci:ListRuns. With tag_prefix the caller also needs git:PushRepository (and git:PushProtectedTag where a tag protection rule covers the tag): the tag is made first, and who may not tag does not release. The tag starts no workflow of its own. The CLI’s `release` command shows the commit and asks before it starts.

Synopsis

dcloud ci releases start repoId [flags]

Arguments

  • <repoId>Required

    string

    Also accepted as --repo-id. Constraints: uuid

Flags

  • --refOptional

    string

    The commit to release; the newest releasable commit when absent

    Constraints: /^[0-9a-f]{7,40}$/

  • --dry-runOptional

    boolean (--dry-run / --no-dry-run)

    Say which commit it would release, start nothing

Example

dcloud ci releases start repoId

Generated from the API description, the same one the API checks requests against and the CLI is built from.