mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-25 15:29:43 -05:00
fix: auto_update_v8 README regex (#1061)
This commit is contained in:
parent
746f7a3a56
commit
1f3e0e1d54
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ console.log(`Updated to version ${newVersion}`);
|
||||||
// Update version in readme
|
// Update version in readme
|
||||||
let readme = Deno.readTextFileSync("README.md");
|
let readme = Deno.readTextFileSync("README.md");
|
||||||
readme = readme.replace(
|
readme = readme.replace(
|
||||||
/V8 Version: .*$/,
|
/V8 Version: \S+/,
|
||||||
`V8 Version: ${newVersion}`,
|
`V8 Version: ${newVersion}`,
|
||||||
);
|
);
|
||||||
Deno.writeTextFileSync("README.md", readme);
|
Deno.writeTextFileSync("README.md", readme);
|
||||||
|
|
Loading…
Reference in a new issue