Skip to content

Commit

Permalink
Suppress cloudBuild.buildNumber: null being written for `nbgv prepa…
Browse files Browse the repository at this point in the history
…re-release`

Fixes #630
  • Loading branch information
AArnott committed Oct 11, 2021
1 parent 5496648 commit e929e74
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 e929e74

Please sign in to comment.