Create a release
create_releaseCreate a repository release from an existing git tag, optionally creating the tag at a specified commit, and return the release ID for uploading assets.
Instructions
Create a release on a git tag (requires write mode). The tag must already exist unless target_commitish is given, which creates it at that commit. Returns the new release, whose id addresses its assets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Release notes (markdown). | |
| name | No | Release title. Defaults to the tag name. | |
| repo | Yes | Repository name. | |
| draft | No | Publish as a draft (not visible to others). Defaults to false. | |
| owner | Yes | Repository owner. | |
| tag_name | Yes | Git tag for the release, e.g. `v1.2.0`. Must already exist unless `target_commitish` is given, in which case the tag is created at that commit. | |
| prerelease | No | Mark as a pre-release. Defaults to false. | |
| target_commitish | No | Commit, branch or ref to create the tag at when it does not exist yet. |