Actions56
- Repository Actions
- Issue Actions
- Pull Request Actions
- Organization Actions
- User Actions
- Comment Actions
- Label Actions
- Milestone Actions
- Release Actions
- Branch Actions
- File Actions
Release → Create
AI-generatedSummary
Create a new release in a specified Codeberg repository with required details such as tag name, release name, and body, along with optional settings for draft status, prerelease status, and target commitish.
Inputs
- Authentication — Choose 'Access Token' or 'OAuth2' authentication method.
- Repository Owner (required) — Owner of the repository where the release will be created.
- Repository Name (required) — Name of the repository where the release will be created.
- Tag Name (required) — The tag name for the release (e.g., 'v1.0.0').
- Name (required) — The title of the release.
- Body (required) — The description or body content of the release.
- Additional Fields — Optional settings including 'Draft' (boolean), 'Prerelease' (boolean), and 'Target Commitish' (branch or commit SHA to tag; defaults to default branch).
Output shape
a single JSON object representing the created release
Returns the API response JSON object for the newly created release. Errors during the creation are reported as node errors. Operation requires specifying repository owner and name, tag name, release name, and body.
Examples
Example 1: Create a release and mark it as a prerelease draft on the 'main' branch
Set 'Repository Owner', 'Repository Name', 'Tag Name', 'Name', and 'Body' with desired text; under Additional Fields set 'Draft' to true, 'Prerelease' to true, and 'Target Commitish' to 'main'.