Skip to content

Commit 1cbb015

Browse files
committed
Switch release management to bump-my-version
Is actually maintained, and lets us merge configuration into pyproject.toml.
1 parent ea8fd44 commit 1cbb015

File tree

3 files changed

+21
-17
lines changed

3 files changed

+21
-17
lines changed

.bumpversion.cfg

-16
This file was deleted.

CONTRIBUTING.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ A reminder for the maintainers on how to deploy.
120120
Make sure all your changes are committed (including an entry in HISTORY.rst).
121121
Then run::
122122

123-
$ bumpversion patch # possible: major / minor / patch
123+
$ bump-my-version patch # possible: major / minor / patch
124124
$ git push
125125
$ git push --tags
126126

pyproject.toml

+20
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,23 @@ mypy_path = "src"
111111
[[tool.mypy.overrides]]
112112
module = ["graypy", "graypy.handler"]
113113
ignore_missing_imports = true
114+
115+
[tool.bumpversion]
116+
current_version = "0.32.0"
117+
commit = true
118+
tag = true
119+
120+
[[tool.bumpversion.files]]
121+
filename = "pyproject.toml"
122+
search = 'version = "{current_version}"'
123+
replace = 'version = "{new_version}"'
124+
125+
[[tool.bumpversion.files]]
126+
filename = 'src/zocalo/__init__.py'
127+
search = '__version__ = "{current_version}"'
128+
replace = '__version__ = "{new_version}"'
129+
130+
[[tool.bumpversion.files]]
131+
filename = "docs/conf.py"
132+
search = 'version = "{current_version}"'
133+
replace = 'version = "{new_version}"'

0 commit comments

Comments
 (0)