Skip to content

Commit

Permalink
Merge pull request #669 from dotnet/fix630
Browse files Browse the repository at this point in the history
Suppress `cloudBuild.buildNumber: null` being written for `nbgv prepare-release`
  • Loading branch information
AArnott committed Oct 11, 2021
2 parents 5496648 + e929e74 commit 3b3db33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/NerdBank.GitVersioning/VersionOptions.cs
Expand Up @@ -934,6 +934,7 @@ public CloudBuildOptions(CloudBuildOptions copyFrom)
/// <summary>
/// Gets or sets options around how and whether to set the build number preset by the cloud build with one enriched with version information.
/// </summary>
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
public CloudBuildNumberOptions? BuildNumber
{
get => this.buildNumber;
Expand Down

0 comments on commit 3b3db33

Please sign in to comment.