Skip to content
This repository was archived by the owner on Sep 20, 2022. It is now read-only.

Commit 1cf3f61

Browse files
author
Jake Ginnivan
committed
Allow publish without outputting a .md file
1 parent 49cf708 commit 1cf3f61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/GitReleaseNotes/ArgumentVerifier.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public static bool VerifyArguments(GitReleaseNotesArguments arguments)
1313
return false;
1414
}
1515
}
16-
if (string.IsNullOrEmpty(arguments.OutputFile) || !arguments.OutputFile.EndsWith(".md"))
16+
if ((string.IsNullOrEmpty(arguments.OutputFile) || !arguments.OutputFile.EndsWith(".md")) && !arguments.Publish)
1717
{
1818
Console.WriteLine("Specify an output file (*.md) [/OutputFile ...]");
1919
{

0 commit comments

Comments
 (0)