Skip to content
Permalink
Browse files

build: fix version bump script for first beta

  • Loading branch information...
MarshallOfSound committed Jan 22, 2019
1 parent 3926d9d commit 29e5195c638440b453ea2600e303f562d25b34f0
Showing with 2 additions and 2 deletions.
  1. +1 −1 ELECTRON_VERSION
  2. +1 −1 script/lib/version-utils.js
@@ -1 +1 @@
5.0.0-nightly.20190122
5.0.0-beta.0
@@ -47,7 +47,7 @@ async function nextBeta (v) {
tags.sort((t1, t2) => semver.gt(t1, t2))

// increment the latest existing beta tag or start at beta.1 if it's a new beta line
return tags.length === 0 ? semver.inc(next, 'beta', 'prerelease') : semver.inc(tags.pop(), 'prerelease')
return tags.length === 0 ? `${next}-beta.1` : semver.inc(tags.pop(), 'prerelease')
}

async function getElectronVersion () {

0 comments on commit 29e5195

Please sign in to comment.
You can’t perform that action at this time.