minor changelog refinements

This commit is contained in:
pooya parsa 2019-05-22 00:31:45 +04:30
parent 8a490d62ca
commit d811ef7fea

View File

@ -136,7 +136,7 @@ function generateMarkDown(commits) {
for (const scopeName in scopeGroups) { for (const scopeName in scopeGroups) {
markdown += '- `' + scopeName + '`' + '\n' markdown += '- `' + scopeName + '`' + '\n'
for (const commit of scopeGroups[scopeName]) { for (const commit of scopeGroups[scopeName]) {
markdown += ' - ' + commit.references.join(',') + ' ' + commit.message + '\n' markdown += ' - ' + commit.references.join(', ') + ' ' + commit.message.replace(/^(.)/, v => v.toUpperCase()) + '\n'
} }
} }
} }