Aliases.

GetVersion(ICakeContext, DirectoryPath) Method

Summary

Return information about current project version.
Assembly
Cake.HgVersion.dll
Namespace
Cake.HgVersion
Containing Type
Aliases

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