Merge pull request #365 from wilzbach/changelog

Contributors shortlink + Unify Nicholas in the contributors changelog
merged-on-behalf-of: Vladimir Panteleev <CyberShadow@users.noreply.github.com>
This commit is contained in:
The Dlang Bot 2019-02-16 14:29:11 +01:00 committed by GitHub
commit 654a9329d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -79,6 +79,8 @@ Nathan Sashihara <21227491+n8sh@users.noreply.github.com>
Nathan Sashihara <21227491+n8sh@users.noreply.github.com> <nathan@n8mbp17.home>
Nick Sabalausky <bus_github@semitwist.com>
Nick Sabalausky <bus_github@semitwist.com> <Abscissa@users.noreply.github.com>
Nicholas Wilson <iamthewilsonator@hotmail.com>
Nicholas Wilson <iamthewilsonator@hotmail.com> <thewilsonator@users.noreply.github.com>
Petar Kirov <petar.p.kirov@gmail.com> <petar.p.kirov@gmail.com>
ponce <aliloko@gmail.com> <aliloko@gmail.com>
Rainer Schuetze <r.sagitario@gmx.de> <r.sagitario@gmx.de>

View file

@ -507,7 +507,9 @@ Please supply a bugzilla version
{
auto changelog = changelogEntries > 0 ? "%d major change%s and".format(changelogEntries, changelogEntries > 1 ? "s" : "") : "";
w.put("$(VER) comes with {changelogEntries} {bugzillaIssues} fixed Bugzilla issue{bugzillaIssuesPlural}.
A huge thanks goes to the {nrContributors} contributor{nrContributorsPlural} who made $(VER) possible."
A huge thanks goes to the
$(LINK2 #contributors, {nrContributors} contributor{nrContributorsPlural})
who made $(VER) possible."
.replace("{bugzillaIssues}", bugzillaIssues.text)
.replace("{bugzillaIssuesPlural}", bugzillaIssues != 1 ? "s" : "")
.replace("{changelogEntries}", changelog)