File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [tool .bumpversion ]
2+ current_version = " 1.7.4"
3+ commit = true
4+ tag = true
5+
6+ [[tool .bumpversion .files ]]
7+ filename = " setup.py"
8+ search = " version=\" {current_version}\" "
9+ replace = " version=\" {new_version}\" "
10+
11+ [[tool .bumpversion .files ]]
12+ filename = " dtw/__init__.py"
13+ search = " __version__ = '{current_version}'"
14+ replace = " __version__ = '{new_version}'"
Original file line number Diff line number Diff line change 11uv.lock
22.uv-cache /
33.vscode /
4+ .ruff_cache /
45
56
67# Byte-compiled / optimized / DLL files
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ docstrings:
9494
9595bump: changelog
9696 git commit -a -m "last before bumpversion"
97- bumpversion patch
97+ uv run bump-my-version patch
9898 git push --tags
9999 git push
100100
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Deploying
1111Make sure all your changes are committed (including an entry in HISTORY.rst).
1212Then run::
1313
14- $ bumpversion patch # possible: major / minor / patch
14+ $ uvx run bump-my-version patch # possible: major / minor / patch
1515$ git push --follow-tags
1616$ v=$(git tag --points-at HEAD) && gh release create $v --title $v
1717
@@ -24,12 +24,6 @@ Misc stuff
2424Uses cibuildwheel on GH actions https://cibuildwheel.readthedocs.io/en/stable/setup/#github-actions
2525
2626
27- Setup.cfg
28- ---------
29-
30- Necessary because bumpversion
31-
32-
3327
3428Poetry
3529------
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ exclude = [
109109
110110[dependency-groups ]
111111dev = [
112- " bump2version>=1.0.1 " ,
112+ " bump-my-version " ,
113113 " pytest>=7.0.1" ,
114114 " pytest-cov>=7.0.0" ,
115115 " ipython" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments