Introduce new auto-updating staging channel

This commit is contained in:
Scott Nonnenberg
2022-06-14 15:08:38 -07:00
committed by GitHub
parent 4038d781d6
commit 038ec9e05d
6 changed files with 117 additions and 2 deletions

View File

@@ -20,6 +20,9 @@ export const isBeta = (version: string): boolean =>
export const isAlpha = (version: string): boolean =>
semver.parse(version)?.prerelease[0] === 'alpha';
export const isStaging = (version: string): boolean =>
semver.parse(version)?.prerelease[0] === 'staging';
export const generateAlphaVersion = (options: {
currentVersion: string;
shortSha: string;