-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.bumpversion.toml
More file actions
34 lines (31 loc) · 1.14 KB
/
.bumpversion.toml
File metadata and controls
34 lines (31 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# +-----------------------------------------------------------------------+
# | Bump My Version Configuration
# +-----------------------------------------------------------------------+
# Reference: https://callowayproject.github.io/bump-my-version/
# +-----------------------------------------------------------------------+
#
# To release a new version:
#
# > uv run bump-my-version bump (major|minor|patch) --commit --tag -v
# > git push -v --follow-tags
#
# We use https://semver.org/
#
# Or set an exact version manually:
#
# > uv run bump-my-version bump --new-version 1.5.0 --commit --tag -v
#
# Dry run (see changes without committing):
# > uv run bump-my-version bump patch --dry-run -vv --allow-dirty
#
# +-----------------------------------------------------------------------+
[tool.bumpversion]
current_version = "0.5.2"
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""
[[tool.bumpversion.files]]
filename = "django_asgi_lifespan/__init__.py"
search = "__version__ = \"{current_version}\""
replace = "__version__ = \"{new_version}\""