dcloud git releases update

Edit a release, or publish a draft (draft: false)

IAM git:UpdateReleaseChanges state

Synopsis

dcloud git releases update repoId releaseId [flags]

Arguments

  • <repoId>Required

    string

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

  • <releaseId>Required

    string

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

Flags

  • --nameOptional

    string

    New title; an empty one resets it to the tag name

    Constraints: max 255 chars

  • --bodyOptional

    string

    New release notes (Markdown), replacing the old

    Constraints: max 125000 chars

  • --draftOptional

    object

    false publishes a draft (fires published + released/prereleased)

    Constraints: JSON

  • --prereleaseOptional

    boolean (--prerelease / --no-prerelease)

    Mark it a pre-release, or not

Example

dcloud git releases update repoId releaseId

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