Github Create Release
github_create_releaseCreate or update a GitHub release for a tag, set draft or prerelease status, and overwrite existing release notes if it already exists.
Instructions
Publishes a release for a tag. A tag that already carries one fails, since overwriting published notes cannot be undone. Pass if_exists='update' to replace them deliberately, and read updated on the reply to tell which happened. See #401.
The update path sends the title, notes, draft and prerelease only, so make_latest and generate_release_notes are dropped and the generated changelog from the first publish is replaced by body alone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| draft | No | ||
| tag_name | Yes | ||
| if_exists | No | fail if the tag already carries a release, or update to overwrite its title and notes | fail |
| repo_name | Yes | ||
| prerelease | No | ||
| repo_owner | Yes | ||
| make_latest | No | true | |
| release_name | Yes | ||
| generate_release_notes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||