0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-24 15:19:31 -05:00

Fix version in readme (#1056)

This commit is contained in:
Ryan Dahl 2022-08-23 06:43:10 -04:00 committed by GitHub
parent c395d0eada
commit 88f7055e59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# Rusty V8 Binding
V8 Version: 10.5.218.1
V8 Version: 10.6.194.5
[![ci](https://github.com/denoland/rusty_v8/workflows/ci/badge.svg?branch=main)](https://github.com/denoland/rusty_v8/actions)
[![crates](https://img.shields.io/crates/v/v8.svg)](https://crates.io/crates/v8)

View file

@ -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: ${currentVersion}`,
/V8 Version: .*$/,
`V8 Version: ${newVersion}`,
);
Deno.writeTextFileSync("README.md", readme);