Skip to main content

Create release

Publish a release for a tag; the tag is created from the target branch when it does not exist yet.

Command in the GitHub toolkit · id ooa.github/create_release · 10 inputs (4 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Endpoint addressStringNohttps://api.github.comAPI address. Keep the default for github.com; for GitHub Enterprise Server use https://github.yourcompany.com/api/v3.
TokenCredentialYesPersonal access token or app token from the vault, with access to the repository. Or leave it empty and choose a connection that signs in, which gets and renews the token.
OwnerStringYesUser or organization that owns the repository, e.g. acme-corp.
RepoStringYesRepository name without the owner, e.g. billing-service.
TagStringYesTag name of the release.
NameStringNoRelease title. Empty uses the tag.
NotesStringNoRelease notes in Markdown.
TargetStringNoBranch or commit to tag when the tag is new. Empty means the default branch.
DraftBooleanNofalseSave as an unpublished draft.
PrereleaseBooleanNofalseMark as a pre-release.

Outputs​

OutputTypeWhat it is
release_idNumberId of the release.
urlStringWeb address of the release.