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

Function collectReleaseAssetPaths

apps/cli/src/release.ts:175–183  ·  view source on GitHub ↗
(
  wrapperArchivePath: string,
)

Source from the content-addressed store, hash-verified

173};
174
175const collectReleaseAssetPaths = async (
176 wrapperArchivePath: string,
177): Promise<ReadonlyArray<string>> => {
178 const assetNames = (await readdir(distDir))
179 .filter((entry) => /^executor-.*\.(?:tar\.gz|zip)$/.test(entry))
180 .sort();
181
182 return [wrapperArchivePath, ...assetNames.map((entry) => join(distDir, entry))];
183};
184
185const githubReleaseExists = async (tag: string, repository: string): Promise<boolean> => {
186 const proc = Bun.spawn(["gh", "release", "view", tag, "--repo", repository], {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected