glab release delete

Delete a GitLab release.

Synopsis

Delete release assets to GitLab release. Requires the Maintainer role or higher.

Deleting a release does not delete the associated tag, unless you specify --with-tag.

glab release delete <tag> [flags]

Examples

# Delete a release (with a confirmation prompt)
glab release delete v1.1.0

# Skip the confirmation prompt and force delete
glab release delete v1.0.1 -y

# Delete release and associated tag
glab release delete v1.0.1 --with-tag

Options

  -t, --with-tag   Delete the associated tag.
  -y, --yes        Skip the confirmation prompt.

Options inherited from parent commands

  -h, --help          Show help for this command.
  -R, --repo string   Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.