chore: release notes should be an object (#16313)

This commit is contained in:
Shelley Vohr
2019-01-07 16:00:36 -08:00
committed by GitHub
parent 596c0a8672
commit 30c670bd83

View File

@@ -56,7 +56,7 @@ async function getNewVersion (dryRun) {
async function getReleaseNotes (currentBranch) {
if (bumpType === 'nightly') {
return 'Nightlies do not get release notes, please compare tags for info'
return { text: 'Nightlies do not get release notes, please compare tags for info.' }
}
console.log(`Generating release notes for ${currentBranch}.`)
const releaseNotes = await releaseNotesGenerator(currentBranch)