NerdbankGitVersioningTasksExt Class
Definition
Extended variant of the base Nuke.Common.Tools.NerdbankGitVersioning.NerdbankGitVersioningTasks class.
public static class NerdbankGitVersioningTasksExtInheritance object
Remarks
Properties
InstalledToolPath
Gets the installed tool path.
public static AbsolutePath InstalledToolPath { get; }Methods
Install()
Installs the NerdBank GitVersioning global tool.
public static void Install()GetVersion(string?)
Gets the NerdBank GitVersioning version details.
public static NerdbankGitVersioningExt GetVersion(string? solutionDir = null)Parameters
solutionDir string
The solution directory.
Returns
NerdbankGitVersioningExt
The NerdBank GitVersioning version details.
SetVersion(string, AbsolutePath?)
Sets the NerdBank GitVersioning version.
public static void SetVersion(string version, AbsolutePath? solutionDir = null)Parameters
version string
The version to set.
solutionDir Nuke.Common.IO.AbsolutePath
The solution directory.