Skip to content

Commit 6054801

Browse files
committed
adding bump2version
1 parent b8f6434 commit 6054801

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.bumpversion.cfg

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[bumpversion]
2+
current_version = 1.1.0
3+
tag = False
4+
tag_name = {new_version}
5+
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
6+
serialize =
7+
{major}.{minor}.{patch}
8+
9+
10+
[bumpversion:file:pyproject.toml]
11+
search = version = "{current_version}"
12+
replace = 'version = "{new_version}"'

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
platformdirs==3.8.0
22
python-dateutil==2.8.2
33
requests==2.31.0
4+
bump2version>=1.0.1

0 commit comments

Comments
 (0)