mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 17:53:39 +00:00
* test(update): preserve stable fixtures and managed gateway lifecycle * test: keep survivor schema checks with the Discord plugin
25 lines
735 B
TypeScript
25 lines
735 B
TypeScript
type ParsedReleaseVersion = {
|
|
version: string;
|
|
baseVersion: string;
|
|
channel: "stable" | "alpha" | "beta";
|
|
year: number;
|
|
month: number;
|
|
patch: number;
|
|
alphaNumber?: number;
|
|
betaNumber?: number;
|
|
correctionNumber?: number;
|
|
};
|
|
|
|
type ReleaseTrain =
|
|
| "alpha"
|
|
| "beta"
|
|
| "stable"
|
|
| "extended-stable"
|
|
| "unsupported-extended-stable-correction";
|
|
|
|
export function parseReleaseVersion(version: string): ParsedReleaseVersion | null;
|
|
export function classifyReleaseTrain(parsedVersion: ParsedReleaseVersion): ReleaseTrain;
|
|
export function collectReleaseVersionFloorErrors(
|
|
version: string | ParsedReleaseVersion | null,
|
|
): string[];
|
|
export function compareReleaseVersions(left: string, right: string): number | null;
|