Skip to content

Commit

Permalink
Configured bump-my-version
Browse files Browse the repository at this point in the history
  • Loading branch information
TreyWW committed Mar 22, 2024
1 parent 1053919 commit 6f30cf0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ Issues = "https://github.com/TreyWW/django-umami/issues"

[tool.bumpversion]
current_version = "0.0.2"
commit = true
commit = false
commit_args = "-s"
tag = true
tag = false
tag_name = "v{new_version}"
allow_dirty = true
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\.(?P<dev>post)\\d+\\.dev\\d+)?"
Expand All @@ -82,3 +82,8 @@ message = "Version updated from {current_version} to {new_version}"

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

[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'

0 comments on commit 6f30cf0

Please sign in to comment.