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

Function resolveChannel

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

Source from the content-addressed store, hash-verified

92};
93
94const resolveChannel = (version: string): ReleaseChannel =>
95 version.includes("-") ? "beta" : "latest";
96
97const resolveTagFromEnvironment = (): string | undefined => {
98 const refName = process.env.GITHUB_REF_NAME?.trim();

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected