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.Git.
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 |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
repositoryDirectoryPath | DirectoryPath | Path to repository. |
Return Value
Type | Description |
---|---|
List |
List of all tags from the repository. |