openclaw/scripts/lib/release-context.d.mts
Peter Steinberger a162944f54
improve(release): prepare publication artifacts during validation (#135639)
* perf(release): prepare publication artifacts during validation

* fix(release): scope npm registry environment restoration

* test(ci): align release artifact verification fixtures

Account for newly tracked artifact tests and internal workflow-only inputs. Keep synthetic runner timing checks independent of unrelated suite budgets. Reuse the catalog-row selector fix already landed in #135597.

* fix(release): preserve correction identity across prepared artifacts
2026-09-01 18:41:09 -07:00

14 lines
571 B
TypeScript

import type { parseReleaseVersion } from "./release-version.mjs";
type ReleaseContextKind = "release branch" | "extended-stable branch" | "release tag";
export function parseReleaseContextRef(contextRef: string): {
kind: ReleaseContextKind;
ref: string;
version: NonNullable<ReturnType<typeof parseReleaseVersion>>;
} | null;
export function releaseBranchForTag(tag: string): string;
export function resolveReleaseContextIdentity(
contextRef: string,
packageVersion: string,
): { kind: ReleaseContextKind; releaseTag: string; baseTag: string | null } | null;