Add path logging to release notes app

This commit is contained in:
Jordan Brown
2020-03-29 14:09:28 -04:00
parent 932543fa62
commit 8b3aed529c
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -282,9 +282,10 @@ namespace ReleaseNotes
newNotes.Append(Environment.NewLine);
newNotes.Append(oldNotes);
Console.WriteLine("Writing out new release notes...");
const string OutputPath = "release_notes.md";
Console.WriteLine($"Writing out new release notes to {Path.GetFullPath(OutputPath)}...");
var releaseNotes = newNotes.ToString();
await File.WriteAllTextAsync("release_notes.md", releaseNotes).ConfigureAwait(false);
await File.WriteAllTextAsync(OutputPath, releaseNotes).ConfigureAwait(false);
if (doNotCloseMilestone)
Console.WriteLine("Not closing milestone due to parameter!");