create_release
Automate GitHub release creation by specifying repository details, tag name, commitish, and release notes. Supports drafts, prereleases, and auto-generating release notes.
Instructions
Create a new release in a GitHub repository
Input Schema
Name | Required | Description | Default |
---|---|---|---|
body | No | Text describing the release | |
draft | No | true to create a draft (unpublished) release, false to create a published one | |
generate_release_notes | No | Whether to automatically generate the name and body for this release | |
name | No | The name of the release | |
owner | Yes | Repository owner (username or organization) | |
prerelease | No | true to identify the release as a prerelease, false to identify it as a full release | |
repo | Yes | Repository name | |
tag_name | Yes | The name of the tag | |
target_commitish | No | Specifies the commitish value that determines where the Git tag is created from |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {
"description": "Text describing the release",
"type": "string"
},
"draft": {
"description": "true to create a draft (unpublished) release, false to create a published one",
"type": "boolean"
},
"generate_release_notes": {
"description": "Whether to automatically generate the name and body for this release",
"type": "boolean"
},
"name": {
"description": "The name of the release",
"type": "string"
},
"owner": {
"description": "Repository owner (username or organization)",
"type": "string"
},
"prerelease": {
"description": "true to identify the release as a prerelease, false to identify it as a full release",
"type": "boolean"
},
"repo": {
"description": "Repository name",
"type": "string"
},
"tag_name": {
"description": "The name of the tag",
"type": "string"
},
"target_commitish": {
"description": "Specifies the commitish value that determines where the Git tag is created from",
"type": "string"
}
},
"required": [
"owner",
"repo",
"tag_name"
],
"type": "object"
}