Skip to content

Commit 8ca8b06

Browse files
committed
.
1 parent 4c17593 commit 8ca8b06

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/update_version_in_cargo_toml.py

+3
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,9 @@ def get_chrome_ext_compat_version() -> str:
762762

763763
if len(sys.argv) > 1:
764764
new_version = sys.argv[1]
765+
if new_version.startswith("v"):
766+
new_version = new_version[1:]
767+
765768
manifest["package"]["version"] = new_version
766769
with manifest_path.open("w") as f:
767770
toml.dump(manifest, f)

0 commit comments

Comments
 (0)