fix: escape backslashes in TOML regex pattern
Fixed TOML decode error in pyproject.toml version_pattern field
This commit is contained in:
@@ -88,7 +88,7 @@ ignore = [
|
|||||||
version_toml = ["pyproject.toml:project.version"]
|
version_toml = ["pyproject.toml:project.version"]
|
||||||
branch = "main"
|
branch = "main"
|
||||||
version_source = "tag"
|
version_source = "tag"
|
||||||
version_pattern = "v(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)"
|
version_pattern = "v(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
||||||
major_on_zero = false
|
major_on_zero = false
|
||||||
build_command = "python -m pip install --upgrade build && python -m build"
|
build_command = "python -m pip install --upgrade build && python -m build"
|
||||||
dist_path = "dist/"
|
dist_path = "dist/"
|
||||||
|
|||||||
Reference in New Issue
Block a user