Commit d339007 1 parent 11c5609 commit d339007 Copy full SHA for d339007
File tree 2 files changed +30
-23
lines changed
2 files changed +30
-23
lines changed Original file line number Diff line number Diff line change @@ -129,3 +129,28 @@ order-by-type = true
129
129
130
130
[tool .ruff .pydocstyle ]
131
131
convention = " google"
132
+
133
+ [tool .bumpversion ]
134
+ current_version = " 0.1.0"
135
+ commit = true
136
+ commit_args = " --no-verify"
137
+ tag = true
138
+ tag_name = " {new_version}"
139
+ parse = " (?P<major>\\ d+)\\ .(?P<minor>\\ d+)\\ .(?P<patch>\\ d+)(\\ .dev(?P<dev>\\ d+))?"
140
+ serialize =[
141
+ " {major}.{minor}.{patch}.dev{dev}" ,
142
+ " {major}.{minor}.{patch}"
143
+ ]
144
+ message = " Version updated from {current_version} to {new_version}"
145
+
146
+ [[tool .bumpversion .files ]]
147
+ filename = " bumpversion/__init__.py"
148
+
149
+ [[tool .bumpversion .files ]]
150
+ filename = " CHANGELOG.md"
151
+ search = " Unreleased"
152
+
153
+ [[tool .bumpversion .files ]]
154
+ filename = " CHANGELOG.md"
155
+ search = " {current_version}...HEAD"
156
+ replace = " {current_version}...{new_version}"
Original file line number Diff line number Diff line change 1
1
[metadata]
2
- name = bump_version
3
- version = attr:bump_version .__version__
2
+ name = bumpversion
3
+ version = attr:bumpversion .__version__
4
4
description = Version bump your Python project
5
5
url = https://github.com/callowayproject/bump-my-version
6
6
author = Corey Oordt
@@ -12,7 +12,7 @@ classifiers =
12
12
Programming Language :: Python :: 3.9
13
13
long_description = file:README.md
14
14
long_description_content_type = text/markdown
15
- keywords = bump_version
15
+ keywords = bumpversion
16
16
17
17
[options]
18
18
zip_safe = False
@@ -29,25 +29,7 @@ exclude =
29
29
[darglint]
30
30
ignore = DAR402
31
31
32
- [bumpversion]
33
- current_version = 0.1.0
34
- commit = True
35
- commit_args = --no-verify
36
- tag = True
37
- tag_name = {new_version}
38
- parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\+[-_\w]+?\.(?P<dev>\d+))?
39
- serialize =
40
- {major}.{minor}.{patch}+{$BRANCH_NAME}.{dev}
41
- {major}.{minor}.{patch}
42
- message = Version updated from {current_version} to {new_version}
43
-
44
- [bumpversion:file(version heading):CHANGELOG.md]
45
- search = Unreleased
46
-
47
- [bumpversion:file(previous version):CHANGELOG.md]
48
- search = {current_version}...HEAD
49
- replace = {current_version}...{new_version}
50
-
51
32
[options.entry_points]
52
33
console_scripts =
53
- bump-my-version = bump_version.cli:cli
34
+ bump-my-version = bumpversion.cli:cli
35
+ bumpversion = bumpversion.cli:cli
You can’t perform that action at this time.
0 commit comments