Skip to content

Commit 905945f

Browse files
add initial bumpver config
1 parent 06c650e commit 905945f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

pyproject.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,29 @@ classifiers = [
4646
[project.optional-dependencies]
4747
server = ["djls-server"]
4848

49+
[tool.bumpver]
50+
commit = true
51+
commit_message = ":bookmark: bump version {old_version} -> {new_version}"
52+
current_version = "5.1.0-alpha.0"
53+
push = false # set to false for CI
54+
tag = false
55+
version_pattern = "MAJOR.MINOR.INC0[-TAG][.NUM]"
56+
57+
[tool.bumpver.file_patterns]
58+
"crates/djls/Cargo.toml" = [
59+
'version = "{version}"',
60+
]
61+
"packages/djls-agent/pyproject.toml" = [
62+
'version = "{pep400_version}"',
63+
]
64+
"packages/djls-server/pyproject.toml" = [
65+
'version = "{pep400_version}"',
66+
]
67+
"pyproject.toml" = [
68+
'version = "{pep400_version}"',
69+
'current_version = "{version}"',
70+
]
71+
4972
[tool.hatch.build]
5073
packages = [".workspace/"]
5174

0 commit comments

Comments
 (0)