mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 05:43:55 +00:00
ci: ignore
This commit is contained in:
parent
8887616457
commit
ee87e1f139
@ -74,6 +74,10 @@ async function main() {
|
||||
const versionRegex = new RegExp(`(\\[${EXTENSION_NAME}\\]\\s+(?:.*\\s*)?)version = "[^"]+"`)
|
||||
const updatedToml = extensionsToml.replace(versionRegex, `$1version = "${cleanVersion}"`)
|
||||
|
||||
if (updatedToml === extensionsToml) {
|
||||
throw new Error(`Failed to update version in extensions.toml - pattern not found`)
|
||||
}
|
||||
|
||||
await Bun.write(extensionsTomlPath, updatedToml)
|
||||
await $`git add extensions.toml`
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user