build: fix nightly release copy (#23097)
This commit is contained in:
parent
3e8d77d564
commit
e95075f2fe
1 changed files with 4 additions and 4 deletions
|
@ -89,13 +89,13 @@ async function createRelease (branchToTarget, isBeta) {
|
|||
if (newVersion.indexOf('nightly') > 0) {
|
||||
releaseBody = 'Note: This is a nightly release. Please file new issues ' +
|
||||
'for any bugs you find in it.\n \n This release is published to npm ' +
|
||||
'under the nightly tag and can be installed via npm install electron@nightly, ' +
|
||||
`or npm i electron-nightly@${newVersion.substr(1)}.\n \n ${releaseNotes.text}`;
|
||||
'under the nightly tag and can be installed via `npm install electron@nightly`, ' +
|
||||
`or \`npm install electron-nightly@${newVersion.substr(1)}\`.\n \n ${releaseNotes.text}`;
|
||||
} else {
|
||||
releaseBody = 'Note: This is a beta release. Please file new issues ' +
|
||||
'for any bugs you find in it.\n \n This release is published to npm ' +
|
||||
'under the beta tag and can be installed via npm install electron@beta, ' +
|
||||
`or npm i electron@${newVersion.substr(1)}.\n \n ${releaseNotes.text}`;
|
||||
'under the beta tag and can be installed via `npm install electron@beta`, ' +
|
||||
`or \`npm install electron@${newVersion.substr(1)}\`.\n \n ${releaseNotes.text}`;
|
||||
}
|
||||
releaseIsPrelease = true;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue