GitLabAliases.

GitLabRepositoryCreateTagAsync(ICakeContext, ProjectConnection, string, string) Method

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, ProjectConnection projectConnection, 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
AsyncStateMachineAttribute
CakeMethodAliasAttribute
GeneratedCodeAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext
projectConnection ProjectConnection
ref string
name string

Return Value

Type Description
Task<Tag>