mirror of
https://github.com/electron/electron.git
synced 2026-01-10 16:08:06 -05:00
chore: release notes should be an object (#16313)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user