var result = GitDescribe(".", "master", false, GitDescribeStrategy.Tags, 0);
Attributes
Type
Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
Parameters
Name
Type
Description
context
ICakeContext
The context.
repositoryDirectoryPath
DirectoryPath
Path to repository.
commitishName
string
Commit-ish name.
renderLongFormat
bool
Always output the long format (the tag, the number of commits and the abbreviated commit name)
even when it matches a tag. This is useful when you want to see parts of the commit object name
in "describe" output, even when the commit in question happens to be a tagged version.
Instead of just emitting the tag name, it will describe such a commit as v1.2-0-gdeadbee
(0th commit since tag v1.2 that points at object deadbee...).