summaryrefslogtreecommitdiffhomepage
path: root/script/publish.ts
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2025-11-07 15:32:08 -0600
committerAiden Cline <[email protected]>2025-11-07 15:32:19 -0600
commit3bb3f4f2c968016e371fa756c8c17df2d5c46b40 (patch)
tree33151c5e792d8c8cbf59c548c2bc3ac4b85d384d /script/publish.ts
parentd31f97343cb38bf0f67db30c993091600d107de2 (diff)
downloadopencode-3bb3f4f2c968016e371fa756c8c17df2d5c46b40.tar.gz
opencode-3bb3f4f2c968016e371fa756c8c17df2d5c46b40.zip
ignore: fix
Diffstat (limited to 'script/publish.ts')
-rwxr-xr-xscript/publish.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/publish.ts b/script/publish.ts
index 7cd81d41f..3c06942bc 100755
--- a/script/publish.ts
+++ b/script/publish.ts
@@ -87,7 +87,7 @@ for (const file of pkgjsons) {
const extensionToml = new URL("../packages/extensions/zed/extension.toml", import.meta.url).pathname
let toml = await Bun.file(extensionToml).text()
toml = toml.replace(/^version = "[^"]+"/m, `version = "${Script.version}"`)
-toml = toml.replaceAll(/releases\/v[^/]+\//g, `releases/v${Script.version}/`)
+toml = toml.replaceAll(/releases\/download\/v[^/]+\//g, `releases/download/v${Script.version}/`)
console.log("updated:", extensionToml)
await Bun.file(extensionToml).write(toml)