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

Function resolveChannel

scripts/publish-packages.ts:63–63  ·  view source on GitHub ↗
(version: string)

Source from the content-addressed store, hash-verified

61};
62
63const resolveChannel = (version: string): Channel => (version.includes("-") ? "beta" : "latest");
64
65const readPackageMeta = async (pkgDir: string) => {
66 const pkgJsonPath = join(pkgDir, "package.json");

Callers 1

publishPackageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected