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

Function githubReleaseExists

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

Source from the content-addressed store, hash-verified

183};
184
185const githubReleaseExists = async (tag: string, repository: string): Promise<boolean> => {
186 const proc = Bun.spawn(["gh", "release", "view", tag, "--repo", repository], {
187 cwd: repoRoot,
188 env: process.env,
189 stdio: ["ignore", "ignore", "ignore"],
190 });
191
192 return (await proc.exited) === 0;
193};
194
195/** The CHANGELOG section Changesets generated for `version` (compiled from
196 * `.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