Skip to content

Commit e929e74

Browse files
committed
Suppress cloudBuild.buildNumber: null being written for nbgv prepare-release
Fixes #630
1 parent 5496648 commit e929e74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/NerdBank.GitVersioning/VersionOptions.cs

+1
Original file line numberDiff line numberDiff line change
@@ -934,6 +934,7 @@ public bool? SetVersionVariables
934934
/// <summary>
935935
/// Gets or sets options around how and whether to set the build number preset by the cloud build with one enriched with version information.
936936
/// </summary>
937+
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
937938
public CloudBuildNumberOptions? BuildNumber
938939
{
939940
get => this.buildNumber;

0 commit comments

Comments
 (0)