fix: update regex pattern for version in pyproject.toml to avoid false matches
This commit is contained in:
parent
b843358a14
commit
7787dc05f2
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ def main() -> int:
|
||||||
|
|
||||||
# Update pyproject.toml
|
# Update pyproject.toml
|
||||||
if pyproject_path.exists():
|
if pyproject_path.exists():
|
||||||
pattern = r'version = "[^"]+"'
|
pattern = r'(?<!python_)version = "[^"]+"'
|
||||||
success &= update_file(
|
success &= update_file(
|
||||||
pyproject_path,
|
pyproject_path,
|
||||||
pattern,
|
pattern,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue