diff --git a/build/set_build_version.ts b/build/set_build_version.ts index a4c45dd167..72e65d52db 100644 --- a/build/set_build_version.ts +++ b/build/set_build_version.ts @@ -65,7 +65,7 @@ async function writeOutNewVersions() { function main() { const prereleaseParts: string[] = [getBuildChannel()]; - if (versionInfo.prerelease) { + if (versionInfo.prerelease && versionInfo.prerelease.length > 1) { prereleaseParts.push(versionInfo.prerelease[1].toString()); } diff --git a/package.json b/package.json index 1ad83a1e35..ae163610ea 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "productName": "OpenLens", "description": "OpenLens - Open Source IDE for Kubernetes", "homepage": "https://github.com/lensapp/lens", - "version": "5.0.0-beta.13", + "version": "5.0.0", "main": "static/build/main.js", "copyright": "© 2021 OpenLens Authors", "license": "MIT",