Gets the build number, if any.
public static string? GetBuildNumber(this DotNetBuildSettings settings)
If not specified on the command line or in the settings, the environment variables used by Appveyor, GitHub Actions, and Jenkins will be used, if set.