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.Hg.
Summary
Get list of current tags.
Syntax
public static IEnumerable<Tag> HgTags(this ICakeContext context, DirectoryPath repositoryPath)
Examples
var tags = HgTags("./");
foreach (var tag in tags)
{
Information("Name: {0}, Revision: {1}", tag.Name, tag.RevisionNumber);
}
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
| CakeAliasCategoryAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
Cake context |
| repositoryPath |
DirectoryPath |
Path to repository |
Return Value
| Type |
Description |
| IEnumerable<Tag> |
|