allow commits, change bumpversion toml

This commit is contained in:
2025-01-13 12:45:02 +01:00
parent d73a62c3ea
commit 6c10589508
2 changed files with 8 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
[tool.bumpversion] [tool.bumpversion]
current_version = "0.2.3" current_version = "0.1.1"
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*)\\.
@@ -24,7 +24,7 @@ sign_tags = false
tag_name = "v{new_version}" tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}" tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false allow_dirty = false
commit = false commit = true
message = "Bump version: {current_version} → {new_version}" message = "Bump version: {current_version} → {new_version}"
commit_args = "" commit_args = ""
setup_hooks = [] setup_hooks = []
@@ -33,3 +33,7 @@ post_commit_hooks = []
[tool.bumpversion.parts.pre_l] [tool.bumpversion.parts.pre_l]
values = ["dev", "rc", "final"] values = ["dev", "rc", "final"]
optional_value = "final" optional_value = "final"
[[tool.bumpversion.files]]
filename = ".version"
[[tool.bumpversion.files]]
filename = "__init__.py"

2
.gitignore vendored
View File

@@ -221,6 +221,6 @@ compile_commands.json
output/** output/**
# Rust # Rust
target/ target/
.bumpversion.toml