Skip to content

Commit 8720dd7

Browse files
committed
Fixed compatibility with dependency update
1 parent 2fe5ac6 commit 8720dd7

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/TurnerSoftware.BuildVersioning.Tool/Program.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,24 @@ static int Main(string[] args)
1212
{
1313
new Option<string>("--full-version-format")
1414
{
15-
Required = true,
15+
IsRequired = true,
1616
Description = "The string to format for the full version."
1717
},
1818
new Option<string>("--file-version-format")
1919
{
20-
Required = true,
20+
IsRequired = true,
2121
Description = "The string to format for the file version."
2222
},
2323
new Option<string>("--assembly-version-format")
2424
{
25-
Required = true,
25+
IsRequired = true,
2626
Description = "The string to format for the assembly version."
2727
},
28-
new Option<string>("--prerelease-format", defaultValue: string.Empty)
28+
new Option<string>("--prerelease-format", () => string.Empty)
2929
{
3030
Description = "The string to format for the pre-release."
3131
},
32-
new Option<string>("--build-metadata-format", defaultValue: string.Empty)
32+
new Option<string>("--build-metadata-format", () => string.Empty)
3333
{
3434
Description = "The string to format for the build metadata."
3535
}

0 commit comments

Comments
 (0)