1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix set_build_version

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-06-29 10:25:36 -04:00
parent 0adc557da9
commit 6c3af5d8ce

View File

@ -65,7 +65,7 @@ async function writeOutNewVersions() {
function main() { function main() {
const prereleaseParts: string[] = [getBuildChannel()]; const prereleaseParts: string[] = [getBuildChannel()];
if (versionInfo.prerelease) { if (versionInfo.prerelease && versionInfo.prerelease.length > 1) {
prereleaseParts.push(versionInfo.prerelease[1].toString()); prereleaseParts.push(versionInfo.prerelease[1].toString());
} }