(tag: string, repository: string)
| 183 | }; |
| 184 | |
| 185 | const 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 |