Automate package version bumps with bump-my-version
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled

Use a non-numeric web UI fallback, configure bump-my-version against
pyproject.toml, and add a workflow_dispatch Action that opens a bump PR.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-08-08 15:42:43 +00:00
parent a07d3b46dc
commit 8ee6cebea3
3 changed files with 92 additions and 1 deletions

View File

@@ -41,3 +41,19 @@ packages = ["src/xlsx_clean"]
[tool.uv]
package = true
# Version bumps: `uvx bump-my-version bump patch|minor|major`
# current_version falls back to [project].version above.
[tool.bumpversion]
commit = false
tag = false
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
message = "Bump version: {current_version} → {new_version}"
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'