chore: don't generate full release notes for beta.1
This commit is contained in:
parent
56f7359ed3
commit
8408136082
1 changed files with 1 additions and 1 deletions
|
@ -139,8 +139,8 @@ async function getReleaseNotes (currentBranch) {
|
||||||
|
|
||||||
async function createRelease (branchToTarget, isBeta) {
|
async function createRelease (branchToTarget, isBeta) {
|
||||||
console.log('creating release for', branchToTarget, `isBeta=${isBeta}`)
|
console.log('creating release for', branchToTarget, `isBeta=${isBeta}`)
|
||||||
let releaseNotes = await getReleaseNotes(branchToTarget)
|
|
||||||
let newVersion = await getNewVersion()
|
let newVersion = await getNewVersion()
|
||||||
|
let releaseNotes = !newVersion.includes('beta.1') ? await getReleaseNotes(branchToTarget) : ''
|
||||||
await tagRelease(newVersion)
|
await tagRelease(newVersion)
|
||||||
const githubOpts = {
|
const githubOpts = {
|
||||||
owner: 'electron',
|
owner: 'electron',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue