Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cube-doctor
Commits
0fbbee2b9950
Commit
124061a6
authored
Sep 16, 2021
by
Laurent Peuch
Browse files
fix(set_cubes_cw_max_version): MR title was telling the wrong version number
parent
e414278a822a
Changes
1
Hide whitespace changes
Inline
Side-by-side
cube_doctor/transforms/set_cubes_cw_max_version.py
View file @
0fbbee2b
...
...
@@ -131,11 +131,13 @@ class SetCubeCubicWebMaxVersion(Command):
repo
.
write_file
(
pkginfo_path
,
red
.
dumps
())
maximum_version
=
LooseVersion
(
new_conditions
[
-
1
][
1
])
yield
{
"branch_name"
:
self
.
BRANCH_NAME
,
"commit_message"
:
(
self
.
commit_message
%
f
"
{
maximum_version
.
version
[
0
]
}
.
{
maximum_version
.
version
[
1
]
}
.x"
%
f
"
{
maximum_version
.
version
[
0
]
}
.
{
maximum_version
.
version
[
1
]
-
1
}
.x"
),
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment