|
@@ -127,6 +127,12 @@ _release_msg() {
|
127
|
127
|
}
|
128
|
128
|
|
129
|
129
|
_vbump() {
|
|
130
|
+ #
|
|
131
|
+ # Do version bump at level $1
|
|
132
|
+ #
|
|
133
|
+ # Perform checks, compute new version, update mkit.ini and initiate
|
|
134
|
+ # 'Bump version' commit with changelog template.
|
|
135
|
+ #
|
130
|
136
|
local rlevel=$1
|
131
|
137
|
local nextver # after the bump
|
132
|
138
|
_relck git_present
|
|
@@ -143,6 +149,9 @@ _vbump() {
|
143
|
149
|
}
|
144
|
150
|
|
145
|
151
|
_vbump_gitmsg() {
|
|
152
|
+ #
|
|
153
|
+ # Compose git message template for 'Bump version' commit
|
|
154
|
+ #
|
146
|
155
|
echo "Bump version"
|
147
|
156
|
echo ""
|
148
|
157
|
echo "Overview of changes:"
|
|
@@ -156,25 +165,43 @@ _vbump_gitmsg() {
|
156
|
165
|
}
|
157
|
166
|
|
158
|
167
|
release_x() {
|
|
168
|
+ #
|
|
169
|
+ # Perform release on X level
|
|
170
|
+ #
|
159
|
171
|
_release x
|
160
|
172
|
}
|
161
|
173
|
|
162
|
174
|
release_y() {
|
|
175
|
+ #
|
|
176
|
+ # Perform release on Y level
|
|
177
|
+ #
|
163
|
178
|
_release y
|
164
|
179
|
}
|
165
|
180
|
|
166
|
181
|
release_z() {
|
|
182
|
+ #
|
|
183
|
+ # Perform release on Z level
|
|
184
|
+ #
|
167
|
185
|
_release z
|
168
|
186
|
}
|
169
|
187
|
|
170
|
188
|
vbump_x() {
|
|
189
|
+ #
|
|
190
|
+ # Perform version bump on X level
|
|
191
|
+ #
|
171
|
192
|
_vbump x
|
172
|
193
|
}
|
173
|
194
|
|
174
|
195
|
vbump_y() {
|
|
196
|
+ #
|
|
197
|
+ # Perform version bump on Y level
|
|
198
|
+ #
|
175
|
199
|
_vbump y
|
176
|
200
|
}
|
177
|
201
|
|
178
|
202
|
vbump_z() {
|
|
203
|
+ #
|
|
204
|
+ # Perform version bump on Z level
|
|
205
|
+ #
|
179
|
206
|
_vbump z
|
180
|
207
|
}
|