diff options
| author | Brendan Allan <[email protected]> | 2026-02-03 16:59:34 +0800 |
|---|---|---|
| committer | Brendan Allan <[email protected]> | 2026-02-04 10:39:17 +0800 |
| commit | b7bd561eaafa05d5176bdc177236d1e1bfecb990 (patch) | |
| tree | 18c0fa4ab083bca8ef85854905a383857bf91b51 /script | |
| parent | 6daa962aaa38058a29d30fcfa824d61c128b8a19 (diff) | |
| download | opencode-b7bd561eaafa05d5176bdc177236d1e1bfecb990.tar.gz opencode-b7bd561eaafa05d5176bdc177236d1e1bfecb990.zip | |
ci: use numeric release id instead of gql one
Diffstat (limited to 'script')
| -rwxr-xr-x | script/version.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/version.ts b/script/version.ts index 1b7eac5d9..e011f4453 100755 --- a/script/version.ts +++ b/script/version.ts @@ -14,8 +14,8 @@ if (!Script.preview) { const file = `${dir}/opencode-release-notes.txt` await Bun.write(file, body) await $`gh release create v${Script.version} -d --title "v${Script.version}" --notes-file ${file}` - const release = await $`gh release view v${Script.version} --json id,tagName`.json() - output.push(`release=${release.id}`) + const release = await $`gh release view v${Script.version} --json tagName,databaseId`.json() + output.push(`release=${release.databaseId}`) output.push(`tag=${release.tagName}`) } |
