diff --git a/scripts/versionbump.py b/scripts/versionbump.py index 03e2d98a1..4fafa4184 100644 --- a/scripts/versionbump.py +++ b/scripts/versionbump.py @@ -13,7 +13,7 @@ def main(): new_version_str = args.new_version if not re.match(r'^\d+\.\d+\.\d+$', new_version_str): - raise ValueError("Invalid version format, must be x.y.z") + raise ValueError(f"Invalid version format, must be x.y.z: {new_version_str}") new_version = version.parse(new_version_str)