dcloud git releases createCreate a release (and its tag, when new)
A new tag is created at `target` (default branch when absent) and needs git:PushRepository too. A non-draft release fires `release` with created, published and released (or prereleased); a draft only created. Answers the release and `runIds` of the workflows it started.
Synopsis
dcloud git releases create repoId --tag-name tagName [flags]Arguments
<repoId>Requiredstring
Also accepted as
--repo-id. Constraints: uuid
Flags
--tag-nameRequiredstring
The tag; created at `target` when it does not exist
Constraints: 1-255 chars
--targetOptionalstring
Branch or commit for a new tag; the default branch when absent
Constraints: 1-255 chars
--nameOptionalstring
Title; the tag name when absent
Constraints: max 255 chars
--bodyOptionalstring
Release notes (Markdown)
Constraints: max 125000 chars
--draftOptionalboolean (--draft / --no-draft)
A draft fires only `created`; publish it later
--prereleaseOptionalboolean (--prerelease / --no-prerelease)
Mark it a pre-release (fires `prereleased` instead of `released`); false when absent
Example
dcloud git releases create repoId --tag-name exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.