From 6c105895083e8802d3f9eaa63d201957a8026f94 Mon Sep 17 00:00:00 2001 From: WorldTeacher Date: Mon, 13 Jan 2025 12:45:02 +0100 Subject: [PATCH] allow commits, change bumpversion toml --- .bumpversion.toml | 10 +++++++--- .gitignore | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.bumpversion.toml b/.bumpversion.toml index 763dad6..991a6a4 100644 --- a/.bumpversion.toml +++ b/.bumpversion.toml @@ -1,5 +1,5 @@ [tool.bumpversion] -current_version = "0.2.3" +current_version = "0.1.1" parse = """(?x) (?P0|[1-9]\\d*)\\. (?P0|[1-9]\\d*)\\. @@ -24,7 +24,7 @@ sign_tags = false tag_name = "v{new_version}" tag_message = "Bump version: {current_version} → {new_version}" allow_dirty = false -commit = false +commit = true message = "Bump version: {current_version} → {new_version}" commit_args = "" setup_hooks = [] @@ -32,4 +32,8 @@ pre_commit_hooks = [] post_commit_hooks = [] [tool.bumpversion.parts.pre_l] values = ["dev", "rc", "final"] -optional_value = "final" \ No newline at end of file +optional_value = "final" +[[tool.bumpversion.files]] +filename = ".version" +[[tool.bumpversion.files]] +filename = "__init__.py" \ No newline at end of file diff --git a/.gitignore b/.gitignore index 8f888ec..fdc617d 100644 --- a/.gitignore +++ b/.gitignore @@ -221,6 +221,6 @@ compile_commands.json output/** + # Rust target/ -.bumpversion.toml