This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.GitLab.
Summary
Creates a new tag in the project repository
- Assembly
- Cake
.GitLab .dll - Namespace
- Cake
.GitLab - Containing Type
- GitLabAliases
Syntax
public static Task<Tag> GitLabRepositoryCreateTagAsync(this ICakeContext context, ServerConnection serverConnection, ProjectId project, string ref, string name)
Remarks
Creates a tag with the specified name for the specified target reference (commit SHA, branch name or tag name). If the specified tag already exists for the target commit, creation of the tag is skipped and no error is thrown.
Attributes
Type | Description |
---|---|
Async |
|
Cake |
|
Generated |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | |
serverConnection | ServerConnection | |
project | ProjectId | |
ref | string | |
name | string |
Return Value
Type | Description |
---|---|
Task |