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

fix rc build channel (#3139)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2021-06-22 08:30:15 +03:00 committed by GitHub
parent 6b464a873b
commit ebde8c7004
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,7 @@ function getBuildChannel(): string {
* Note: it is by design that we don't use `rc` as a build channel for these versions * 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";
case undefined: case undefined: