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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Endpoint address | String | No | https://api.github.com | API address. Keep the default for github.com; for GitHub Enterprise Server use https://github.yourcompany.com/api/v3. |
| Token | Credential | Yes | Personal 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. | |
| Owner | String | Yes | User or organization that owns the repository, e.g. acme-corp. | |
| Repo | String | Yes | Repository name without the owner, e.g. billing-service. | |
| Tag | String | Yes | Tag name of the release. | |
| Name | String | No | Release title. Empty uses the tag. | |
| Notes | String | No | Release notes in Markdown. | |
| Target | String | No | Branch or commit to tag when the tag is new. Empty means the default branch. | |
| Draft | Boolean | No | false | Save as an unpublished draft. |
| Prerelease | Boolean | No | false | Mark as a pre-release. |
Outputs
| Output | Type | What it is |
|---|---|---|
| release_id | Number | Id of the release. |
| url | String | Web address of the release. |