summaryrefslogtreecommitdiffhomepage
path: root/script
diff options
context:
space:
mode:
authorDavid Hill <[email protected]>2025-12-16 16:36:15 +0000
committerDavid Hill <[email protected]>2025-12-16 16:36:15 +0000
commita190eda2c897491cea569c533f4947db9db67b40 (patch)
treee38991631fd1d875eaaf740cc6b63a9950389ebf /script
parent1f18f389c0c0b770ec90d2bd653487a8965ed130 (diff)
parent84e56ee6144ea82d36779fc7b15d6615b346bb83 (diff)
downloadopencode-a190eda2c897491cea569c533f4947db9db67b40.tar.gz
opencode-a190eda2c897491cea569c533f4947db9db67b40.zip
Merge branch 'dev' of https://github.com/sst/opencode into dev
Diffstat (limited to 'script')
-rwxr-xr-xscript/publish.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/publish.ts b/script/publish.ts
index 29b47fa68..121da8baa 100755
--- a/script/publish.ts
+++ b/script/publish.ts
@@ -155,7 +155,7 @@ if (!Script.preview) {
await $`git cherry-pick HEAD..origin/dev`.nothrow()
await $`git push origin HEAD --tags --no-verify --force-with-lease`
await new Promise((resolve) => setTimeout(resolve, 5_000))
- await $`gh release create v${Script.version} --title "v${Script.version}" --notes ${notes.join("\n") || "No notable changes"} ./packages/opencode/dist/*.zip ./packages/opencode/dist/*.tar.gz`
+ await $`gh release create v${Script.version} -d --title "v${Script.version}" --notes ${notes.join("\n") || "No notable changes"} ./packages/opencode/dist/*.zip ./packages/opencode/dist/*.tar.gz`
const release = await $`gh release view v${Script.version} --json id,tagName`.json()
if (process.env.GITHUB_OUTPUT) {
await Bun.write(process.env.GITHUB_OUTPUT, `releaseId=${release.id}\ntagName=${release.tagName}\n`)