mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-21 20:28:58 +00:00
fix: auto_update_v8 README regex (#1061)
This commit is contained in:
parent
746f7a3a56
commit
1f3e0e1d54
@ -52,7 +52,7 @@ console.log(`Updated to version ${newVersion}`);
|
||||
// Update version in readme
|
||||
let readme = Deno.readTextFileSync("README.md");
|
||||
readme = readme.replace(
|
||||
/V8 Version: .*$/,
|
||||
/V8 Version: \S+/,
|
||||
`V8 Version: ${newVersion}`,
|
||||
);
|
||||
Deno.writeTextFileSync("README.md", readme);
|
||||
|
Loading…
Reference in New Issue
Block a user