(tag: string, repository: string)
| 158 | }; |
| 159 | |
| 160 | const 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 |