MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / resolveChannel

Function resolveChannel

apps/cli/src/release.ts:119–120  ·  view source on GitHub ↗
(version: string)

Source from the content-addressed store, hash-verified

117};
118
119const resolveChannel = (version: string): ReleaseChannel =>
120 version.includes("-") ? "beta" : "latest";
121
122const resolveTagFromEnvironment = (): string | undefined => {
123 const refName = process.env.GITHUB_REF_NAME?.trim();

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected