fix: update regex pattern for version in pyproject.toml to avoid false matches

This commit is contained in:
claudi 2026-03-25 10:05:37 +01:00
parent b843358a14
commit 7787dc05f2

View file

@ -89,7 +89,7 @@ def main() -> int:
# Update pyproject.toml
if pyproject_path.exists():
pattern = r'version = "[^"]+"'
pattern = r'(?<!python_)version = "[^"]+"'
success &= update_file(
pyproject_path,
pattern,