mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
minor changelog refinements
This commit is contained in:
parent
8a490d62ca
commit
d811ef7fea
@ -136,14 +136,14 @@ function generateMarkDown(commits) {
|
||||
for (const scopeName in scopeGroups) {
|
||||
markdown += '- `' + scopeName + '`' + '\n'
|
||||
for (const commit of scopeGroups[scopeName]) {
|
||||
markdown += ' - ' + commit.references.join(',') + ' ' + commit.message + '\n'
|
||||
markdown += ' - ' + commit.references.join(', ') + ' ' + commit.message.replace(/^(.)/, v => v.toUpperCase()) + '\n'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const authors = sortBy(uniq(commits.map(commit => commit.authorName).filter(an => !isKnownAuthor(an))))
|
||||
if (authors.length) {
|
||||
markdown += '\n\n' + '#### ' + '💖 Thanks to' + '\n\n'
|
||||
markdown += '\n\n' + '#### ' + '💖 Thanks to' + '\n\n'
|
||||
markdown += authors.map(name => '- ' + name).join('\n')
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user