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

remove rc mentions because we don't use rc anymore (#3262)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2021-07-05 13:09:39 +03:00 committed by GitHub
parent 4cae802a08
commit e3a2922ddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,11 +29,7 @@ const versionInfo = semver.parse(appInfo.version);
const buildNumber = process.env.BUILD_NUMBER || Date.now().toString(); const buildNumber = process.env.BUILD_NUMBER || Date.now().toString();
function getBuildChannel(): string { function getBuildChannel(): string {
/**
* Note: it is by design that we don't use `rc` as a build channel for these versions
*/
switch (versionInfo.prerelease?.[0]) { switch (versionInfo.prerelease?.[0]) {
case "rc":
case "beta": case "beta":
return "beta"; return "beta";
default: default: