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.HgVersion.
Summary
Return information about current project version.
Syntax
public static VersionVariables GetVersion(this ICakeContext context, DirectoryPath repositoryPath)
Examples
var version = GetVersion("./");
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
Cake context |
repositoryPath |
DirectoryPath |
Path to repository |
Return Value
Type |
Description |
VersionVariables |
Current project version |