mirror of
https://github.com/electron/electron.git
synced 2026-01-09 07:28:12 -05:00
* build: cleanup release scripts, separate cli entrypoints from logic * build: use repo/org constants
12 lines
411 B
TypeScript
12 lines
411 B
TypeScript
export const ELECTRON_ORG = 'electron';
|
|
export const ELECTRON_REPO = 'electron';
|
|
export const NIGHTLY_REPO = 'nightlies';
|
|
|
|
export type ElectronReleaseRepo = 'electron' | 'nightlies';
|
|
|
|
export type VersionBumpType = 'nightly' | 'alpha' | 'beta' | 'minor' | 'stable';
|
|
|
|
export const isVersionBumpType = (s: string): s is VersionBumpType => {
|
|
return ['nightly', 'alpha', 'beta', 'minor', 'stable'].includes(s);
|
|
};
|