update version bumping

This commit is contained in:
Florian Förster 2025-06-19 11:52:38 +02:00
parent 897e78c3e4
commit f1985af7bc
2 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[project]
name = "lang-main"
version = "0.1.1"
version = "0.1.2dev1"
description = "Several tools to analyse TOM's data with strong focus on language processing"
authors = [
{name = "d-opt GmbH, resp. Florian Förster", email = "f.foerster@d-opt.com"},
@ -132,7 +132,7 @@ directory = "reports/coverage"
[tool.bumpversion]
current_version = "0.1.1"
current_version = "0.1.2dev1"
parse = """(?x)
(?P<major>0|[1-9]\\d*)\\.
(?P<minor>0|[1-9]\\d*)\\.
@ -165,13 +165,14 @@ pre_commit_hooks = []
post_commit_hooks = []
[tool.bumpversion.parts.pre_l]
values = ["dev", "a", "b", "rc", "final"]
values = ["dev", "rc", "final"]
optional_value = "final"
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""
[tool.pdm]
distribution = true

2
scripts/bump_patch.ps1 Normal file
View File

@ -0,0 +1,2 @@
pdm run bump-my-version bump patch
pdm run bump-my-version show current_version