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:
parent
4cae802a08
commit
e3a2922ddc
@ -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:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user