Skip to content

Commit 80a79b9

Browse files
Gary Ewan Parkgep13
authored andcommitted
(GH-1) Changing formatting
- Changed heading level of "Where to get this" - Added milestone to generated ChocolateyGUI URL on chocolatey.org
1 parent 673e933 commit 80a79b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Compiler/ReleaseNotesBuilder.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ void AddIssues(StringBuilder stringBuilder, List<Issue> issues)
9595
Append(issues, "Bug", stringBuilder);
9696
}
9797

98-
static async Task AddFooter(StringBuilder stringBuilder)
98+
async Task AddFooter(StringBuilder stringBuilder)
9999
{
100100
var file = new FileInfo("footer.md");
101101

@@ -106,8 +106,8 @@ static async Task AddFooter(StringBuilder stringBuilder)
106106

107107
if (!file.Exists)
108108
{
109-
stringBuilder.Append(@"## Where to get it
110-
You can download this release from [chocolatey](https://chocolatey.org/packages/ChocolateyGUI)");
109+
stringBuilder.AppendFormat(@"### Where to get it
110+
You can download this release from [chocolatey](https://chocolatey.org/packages/ChocolateyGUI/{0})", this.milestoneTitle);
111111
return;
112112
}
113113

0 commit comments

Comments
 (0)