chore: release notes should be an object (#16313)
This commit is contained in:
parent
596c0a8672
commit
30c670bd83
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ async function getNewVersion (dryRun) {
|
||||||
|
|
||||||
async function getReleaseNotes (currentBranch) {
|
async function getReleaseNotes (currentBranch) {
|
||||||
if (bumpType === 'nightly') {
|
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}.`)
|
console.log(`Generating release notes for ${currentBranch}.`)
|
||||||
const releaseNotes = await releaseNotesGenerator(currentBranch)
|
const releaseNotes = await releaseNotesGenerator(currentBranch)
|
||||||
|
|
Loading…
Reference in a new issue