Aliases Class

Summary

Contains functionality for versioning using Mercurial history.
#addin Cake.HgVersion
Assembly
Cake.HgVersion.dll
Namespace
Cake.HgVersion
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["Aliases"] class Type type-node

Syntax

public static class Aliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
GetVersion(ICakeContext, DirectoryPath) VersionVariables
Return information about current project version.
static
SetVersionTag(ICakeContext, DirectoryPath, VersionVariables) bool
Set version tag to current commit.
static
UpdateAssemblyInfo(ICakeContext, VersionVariables, DirectoryPath, string) void
Update assembly info file or generate if threre is no such file.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin