X Tutup
Skip to content

Commit 30c670b

Browse files
authored
chore: release notes should be an object (electron#16313)
1 parent 596c0a8 commit 30c670b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/prepare-release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ async function getNewVersion (dryRun) {
5656

5757
async function getReleaseNotes (currentBranch) {
5858
if (bumpType === 'nightly') {
59-
return 'Nightlies do not get release notes, please compare tags for info'
59+
return { text: 'Nightlies do not get release notes, please compare tags for info.' }
6060
}
6161
console.log(`Generating release notes for ${currentBranch}.`)
6262
const releaseNotes = await releaseNotesGenerator(currentBranch)

0 commit comments

Comments
 (0)
X Tutup