Commit 124061a6 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

fix(set_cubes_cw_max_version): MR title was telling the wrong version number

parent e414278a822a
......@@ -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"
),
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment