GitVersionAliases Class

Summary

Contains functionality related to GitVersion.

In order to use the commands for this alias, include the following in your build.cake file to download and install from nuget.org, or specify the ToolPath within the GitVersionSettings class:

#tool "dotnet:?package=GitVersion.Tool"

Namespace
Cake.Common.Tools.GitVersion
Base Types
  • object
graph BT Type-->Base0["object"] Type["GitVersionAliases"] class Type type-node

Syntax

[CakeAliasCategory("GitVersion")]
public static class GitVersionAliases

Attributes

Type Description
CakeAliasCategoryAttribute An attribute used for documentation of alias methods/properties.

Methods

Name Value Summary
GitVersion(ICakeContext, GitVersionSettings) GitVersion
Retrieves the GitVersion output.
static
GitVersion(ICakeContext) GitVersion
Retrieves the GitVersion output.
static

Extension Methods

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