Support for alpha build channel

This commit is contained in:
Scott Nonnenberg 2021-08-06 14:21:01 -07:00 committed by GitHub
parent c0ab1dff11
commit 7ce89414bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 337 additions and 27 deletions

View file

@ -13,7 +13,7 @@ type OptionsType = {
development: boolean;
devTools: boolean;
includeSetup: boolean;
isBeta: (version: string) => boolean;
isProduction: boolean;
platform: string;
// actions
@ -42,7 +42,7 @@ export const createTemplate = (
}
const {
isBeta,
isProduction,
devTools,
includeSetup,
openContactUs,
@ -212,7 +212,7 @@ export const createTemplate = (
label: messages.goToSupportPage.message,
click: openSupportPage,
},
...(!isBeta
...(isProduction
? [
{
label: messages.joinTheBeta.message,