Edit a release
edit_releaseEdit an existing Forgejo or Gitea release in place by release_id, updating notes, title, tag, draft, or prerelease status without deleting the release and losing its assets.
Instructions
Edit an existing release in place, by release_id (requires write mode): name, body (the release notes), tag_name, target_commitish, draft, prerelease. Only the fields you pass are sent, so omitting one leaves it as it is. Reach for this to correct published release notes — deleting and recreating the release would take its assets with it. Same endpoint and response on Forgejo and Gitea.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | New release notes (markdown). Replaces the existing notes wholesale. | |
| name | No | New release title. | |
| repo | Yes | Repository name. | |
| draft | No | Switch draft state. | |
| owner | Yes | Repository owner. | |
| tag_name | No | Move the release onto a different git tag. | |
| prerelease | No | Switch pre-release state. | |
| release_id | Yes | Release id, from `get_release` or `list_releases`. | |
| target_commitish | No | Commit, branch or ref the tag points at. |