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

Function githubReleaseExists

apps/cli/src/release.ts:160–168  ·  view source on GitHub ↗
(tag: string, repository: string)

Source from the content-addressed store, hash-verified

158};
159
160const githubReleaseExists = async (tag: string, repository: string): Promise<boolean> => {
161 const proc = Bun.spawn(["gh", "release", "view", tag, "--repo", repository], {
162 cwd: repoRoot,
163 env: process.env,
164 stdio: ["ignore", "ignore", "ignore"],
165 });
166
167 return (await proc.exited) === 0;
168};
169
170/** The CHANGELOG section Changesets generated for `version` (compiled from
171 * `.changeset/*.md` bodies at Version Packages time) — the GitHub Release

Callers 1

syncGitHubReleaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected