File tree 4 files changed +50
-39
lines changed
4 files changed +50
-39
lines changed Original file line number Diff line number Diff line change @@ -184,24 +184,24 @@ api/list-permissions: ## List all permissions - CONTAINS=str
184
184
185
185
# 'bumpversion path' to go from 4.1.0 -> 4.1.1
186
186
dev/bumpversion-patch :
187
- bump2version --verbose patch
187
+ bump-my-version bump --verbose patch
188
188
189
189
# 'bumpversion minor' to go from 4.1.1 -> 4.2.0
190
190
dev/bumpversion-minor :
191
- bump2version --verbose minor
191
+ bump-my-version bump --verbose minor
192
192
193
193
# 'bumpversion major' to go from 4.2.9 -> 5.0.0
194
194
dev/bumpversion-major :
195
- bump2version --verbose major
195
+ bump-my-version bump --verbose major
196
196
197
197
# 'bumpversion build' to go from 5.3.7.a1 -> 5.3.7.a2
198
198
dev/bumpversion-build :
199
- bump2version --verbose build
199
+ bump-my-version bump --verbose build
200
200
201
201
# 'bumpversion release' to from 5.3.7.a1 -> 5.3.7.b1
202
202
# another 'bumpversion release' to from from 5.3.7.b1 -> 5.3.7
203
203
dev/bumpversion-release :
204
- bump2version --verbose release
204
+ bump-my-version bump --verbose release
205
205
206
206
docs/install :
207
207
@pip install -r docs_requirements.txt
Original file line number Diff line number Diff line change @@ -77,3 +77,47 @@ ignore = [
77
77
" profiles/**" ,
78
78
" galaxy_ng/_vendor/**" ,
79
79
]
80
+
81
+ [tool .bumpversion ]
82
+
83
+ current_version = " 4.9.3"
84
+ commit = false
85
+ tag = false
86
+ parse = " (?P<major>\\ d+)\\ .(?P<minor>\\ d+)\\ .(?P<patch>\\ d+)((?P<release>[a-z]+))?((?P<build>\\ d+))?"
87
+ serialize = [
88
+ " {major}.{minor}.{patch}{release}{build}" ,
89
+ " {major}.{minor}.{patch}{release}" ,
90
+ " {major}.{minor}.{patch}" ,
91
+ ]
92
+
93
+ [tool .bumpversion .parts .release ]
94
+
95
+ optional_value = " stable"
96
+ first_value = " a"
97
+ values = [
98
+ " a" ,
99
+ " b" ,
100
+ " stable"
101
+ ]
102
+
103
+ [tool .bumpversion .parts .build ]
104
+
105
+ first_value = 0
106
+
107
+ [[tool .bumpversion .files ]]
108
+
109
+ filename = " ./galaxy_ng/app/__init__.py"
110
+ search = " version = \" {current_version}\" "
111
+ replace = " version = \" {new_version}\" "
112
+
113
+ [[tool .bumpversion .files ]]
114
+
115
+ filename = " ./galaxy_ng/__init__.py"
116
+ search = " __version__ = \" {current_version}\" "
117
+ replace = " __version__ = \" {new_version}\" "
118
+
119
+ [[tool .bumpversion .files ]]
120
+
121
+ filename = " ./setup.py"
122
+ search = " version = \" {current_version}\" "
123
+ replace = " version = \" {new_version}\" "
Original file line number Diff line number Diff line change 1
- bump2version
1
+ bump-my-version
2
2
wheel
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments