Skip to content

Instantly share code, notes, and snippets.

@bouli
Last active December 17, 2025 21:17
Show Gist options
  • Select an option

  • Save bouli/912bad8153475d28f7d1f2be6c51f9e3 to your computer and use it in GitHub Desktop.

Select an option

Save bouli/912bad8153475d28f7d1f2be6c51f9e3 to your computer and use it in GitHub Desktop.
basic-bumpversion.toml
[tool.bumpversion]
tag = true
tag_name = "v{new_version}"
pre_commit_hooks = ["uv sync --upgrade", "git add uv.lock"]
commit = true
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = "version = \"{current_version}\""
search = "version = \"{new_version}\""
[[tool.bumpversion.files]]
filename = "README.md"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment