Skip to content

Commit 016b88f

Browse files
committed
(GH-121) Append closed parameter to URL
1 parent 75cc990 commit 016b88f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/GitReleaseManager/ReleaseNotesBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ public async Task<string> BuildReleaseNotes()
5454
var commitsLink = this.GetCommitsLink(previousMilestone);
5555
var commitsText = string.Format(numberOfCommits == 1 ? "{0} commit" : "{0} commits", numberOfCommits);
5656

57-
stringBuilder.AppendFormat(@"As part of this release we had [{0}]({1}) which resulted in [{2}]({3}) being closed.", commitsText, commitsLink, issuesText, this.targetMilestone.HtmlUrl);
57+
stringBuilder.AppendFormat(@"As part of this release we had [{0}]({1}) which resulted in [{2}]({3}) being closed.", commitsText, commitsLink, issuesText, this.targetMilestone.HtmlUrl + "?closed=1");
5858
}
5959
else
6060
{
61-
stringBuilder.AppendFormat(@"As part of this release we had [{0}]({1}) closed.", issuesText, this.targetMilestone.HtmlUrl);
61+
stringBuilder.AppendFormat(@"As part of this release we had [{0}]({1}) closed.", issuesText, this.targetMilestone.HtmlUrl + "?closed=1");
6262
}
6363
}
6464
else if (numberOfCommits > 0)

0 commit comments

Comments
 (0)