Actions71
- Branch Actions
- File Actions
- Group Actions
- Issue Actions
- Merge Request Actions
- Pipeline Actions
- Project Actions
- Raw API Actions
- Release Actions
- Tag Actions
Release → Create
AI-generatedSummary
Create a new release in a GitLab project by specifying the release tag name, release name, and optionally adding a description and assets links in JSON format.
Inputs
- authentication — Choose between using saved credentials or custom server URL and access token for GitLab API authentication.
- GitLab Server — Base URL of the GitLab instance, used only when authentication mode is Custom; defaults to https://gitlab.com.
- Access Token — Personal access token with API permissions, used only when authentication mode is Custom.
- Project Locator — Select how to identify the target project: by numeric ID or by path (owner and project name). Defaults to by ID.
- Project ID — Numeric ID of the project, used when Project Locator is set to ID.
- Project Owner — Namespace or owner of the project, used when Project Locator is set to Path.
- Project Name — Project slug or name, used when Project Locator is set to Path.
- Tag Name (required) — The tag name associated with the release.
- Name (required) — The release name.
- Description — An optional text description for the release.
- Assets — Optional JSON string containing links to assets associated with the release.
Output shape
a single JSON array item containing the API response for the created release
Throws an error if required parameters are missing or JSON in assets is invalid. Returns the GitLab API response object representing the created release.
Examples
Example 1: Create a release for a project identified by ID with tag v1.0, name "Version 1.0", with a description and optional assets links.
Set Project Locator to 'ID', specify Project ID, provide Tag Name 'v1.0', Release Name 'Version 1.0', optionally set Description and Assets JSON; use default or custom authentication as needed.