IHasGitVersion Interface
Definition
A build which has a Git version.
public interface IHasGitVersion : INukeBuildProperties
Versioning
Gets the Git versioning data.
[NerdbankGitVersioning]NerdbankGitVersioning? Versioning { get; }AddGitVersioning
Gets a value indicating whether to add Nerdbank Git versioning metadata.
bool AddGitVersioning { get; }Methods
TrySetCloudBuildNumber()
Attempts to set the cloud build number, if configured with Git versioning and running on Azure DevOps.
void TrySetCloudBuildNumber()