GitAliases.

GitTags(ICakeContext, DirectoryPath) Method

Summary

Gets a list of all tags from the repository.
Assembly
Cake.Git.dll
Namespace
Cake.Git
Containing Type
GitAliases

Syntax

public static List<Tag> GitTags(this ICakeContext context, DirectoryPath repositoryDirectoryPath)

Remarks

If you need to access the targets of the tags use Cake.Git.GitAliases.GitTags(Cake.Core.ICakeContext,Cake.Core.IO.DirectoryPath,System.Boolean) to make sure targerts are loaded.

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
repositoryDirectoryPath DirectoryPath Path to repository.

Return Value

Type Description
List<Tag> List of all tags from the repository.