mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
ignore: fix
This commit is contained in:
parent
d31f97343c
commit
3bb3f4f2c9
2 changed files with 6 additions and 6 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue