update version bumping
This commit is contained in:
parent
897e78c3e4
commit
f1985af7bc
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "lang-main"
|
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"
|
description = "Several tools to analyse TOM's data with strong focus on language processing"
|
||||||
authors = [
|
authors = [
|
||||||
{name = "d-opt GmbH, resp. Florian Förster", email = "f.foerster@d-opt.com"},
|
{name = "d-opt GmbH, resp. Florian Förster", email = "f.foerster@d-opt.com"},
|
||||||
@ -132,7 +132,7 @@ directory = "reports/coverage"
|
|||||||
|
|
||||||
|
|
||||||
[tool.bumpversion]
|
[tool.bumpversion]
|
||||||
current_version = "0.1.1"
|
current_version = "0.1.2dev1"
|
||||||
parse = """(?x)
|
parse = """(?x)
|
||||||
(?P<major>0|[1-9]\\d*)\\.
|
(?P<major>0|[1-9]\\d*)\\.
|
||||||
(?P<minor>0|[1-9]\\d*)\\.
|
(?P<minor>0|[1-9]\\d*)\\.
|
||||||
@ -165,13 +165,14 @@ pre_commit_hooks = []
|
|||||||
post_commit_hooks = []
|
post_commit_hooks = []
|
||||||
|
|
||||||
[tool.bumpversion.parts.pre_l]
|
[tool.bumpversion.parts.pre_l]
|
||||||
values = ["dev", "a", "b", "rc", "final"]
|
values = ["dev", "rc", "final"]
|
||||||
optional_value = "final"
|
optional_value = "final"
|
||||||
|
|
||||||
[[tool.bumpversion.files]]
|
[[tool.bumpversion.files]]
|
||||||
filename = "pyproject.toml"
|
filename = "pyproject.toml"
|
||||||
search = "version = \"{current_version}\""
|
search = "version = \"{current_version}\""
|
||||||
replace = "version = \"{new_version}\""
|
replace = "version = \"{new_version}\""
|
||||||
|
|
||||||
[tool.pdm]
|
[tool.pdm]
|
||||||
distribution = true
|
distribution = true
|
||||||
|
|
||||||
|
|||||||
2
scripts/bump_patch.ps1
Normal file
2
scripts/bump_patch.ps1
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
pdm run bump-my-version bump patch
|
||||||
|
pdm run bump-my-version show current_version
|
||||||
Loading…
x
Reference in New Issue
Block a user