Skip to content

Commit

Permalink
Switch to bump-my-version for version management
Browse files Browse the repository at this point in the history
  • Loading branch information
ndevenish committed Jun 19, 2024
1 parent 8e02489 commit dc4b698
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 17 deletions.
16 changes: 0 additions & 16 deletions .bumpversion.cfg

This file was deleted.

25 changes: 24 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,27 @@ required-imports = ["from __future__ import annotations"]

[tool.mypy]
no_implicit_optional = true
mypy_path = "src/"
mypy_path = "src/"

[tool.bumpversion]
current_version = "2.27"
tag = true
commit = true

parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)"
serialize = ["{major}.{minor}"]
search = "{current_version}"
replace = "{new_version}"

# regex = false
# ignore_missing_version = false
# ignore_missing_files = false
# sign_tags = false
# tag_name = "v{new_version}"
# tag_message = "Bump version: {current_version} → {new_version}"
# allow_dirty = false
# message = "Bump version: {current_version} → {new_version}"
# commit_args = ""

[[tool.bumpversion.files]]
filename = "src/workflows/__init__.py"

0 comments on commit dc4b698

Please sign in to comment.