Class NerdbankGitVersioningTasksExt
Extended variant of the base Nuke.Common.Tools.NerdbankGitVersioning.NerdbankGitVersioningTasks class.
Inherited Members
Namespace: Microsoft.XboxStudios.NukeExt
Assembly: NukeExt.Components.dll
Syntax
public static class NerdbankGitVersioningTasksExt
Remarks
Properties
View SourceInstalledToolPath
Gets the installed tool path.
Declaration
public static AbsolutePath InstalledToolPath { get; }
Property Value
| Type | Description |
|---|---|
| AbsolutePath |
Methods
View SourceGetVersion(string?)
Gets the NerdBank GitVersioning version details.
Declaration
public static NerdbankGitVersioningExt GetVersion(string? solutionDir = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | solutionDir | The solution directory. |
Returns
| Type | Description |
|---|---|
| NerdbankGitVersioningExt | The NerdBank GitVersioning version details. |
Install()
Installs the NerdBank GitVersioning global tool.
Declaration
public static void Install()
SetVersion(string, AbsolutePath?)
Sets the NerdBank GitVersioning version.
Declaration
public static void SetVersion(string version, AbsolutePath? solutionDir = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | version | The version to set. |
| AbsolutePath | solutionDir | The solution directory. |