Skip to content

Commit

Permalink
Move security up in the listing order.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaffinito committed Aug 4, 2023
1 parent 890bba2 commit 2261266
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions build/ReleaseNotesBuilder/ReleaseNotesModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,35 +92,35 @@ public string GetDocumentContents()
builder.AppendLine();
}

if (_bodyNewFeatures.Any())
if (_bodySecurity.Any())
{
builder.AppendLine(Program.NewFeaturesSection);
builder.AppendLine(Program.SecuritySection);
builder.AppendLine();
foreach (var entry in _bodyNewFeatures)
foreach (var entry in _bodySecurity)
{
builder.AppendLine(entry);
}

builder.AppendLine();
}

if (_bodyFixes.Any())
if (_bodyNewFeatures.Any())
{
builder.AppendLine(Program.FixesSection);
builder.AppendLine(Program.NewFeaturesSection);
builder.AppendLine();
foreach (var entry in _bodyFixes)
foreach (var entry in _bodyNewFeatures)
{
builder.AppendLine(entry);
}

builder.AppendLine();
}

if (_bodySecurity.Any())
if (_bodyFixes.Any())
{
builder.AppendLine(Program.SecuritySection);
builder.AppendLine(Program.FixesSection);
builder.AppendLine();
foreach (var entry in _bodySecurity)
foreach (var entry in _bodyFixes)
{
builder.AppendLine(entry);
}
Expand Down

0 comments on commit 2261266

Please sign in to comment.