eobuilder-ctl: fix parsing of debian versions containing more than one + (fixes #25203)
This commit is contained in:
parent
6da7c8bb05
commit
e24084ff6c
|
@ -223,7 +223,7 @@ def prepare_build(dist, project, cmd_options, new):
|
|||
|
||||
if last_version == project['version'] and new \
|
||||
and "~eob" in last_debian_package_version:
|
||||
new_inc = int(last_debian_package_version.split('+')[1]) + 1
|
||||
new_inc = int(last_debian_package_version.rsplit('+', 1)[-1]) + 1
|
||||
version_suffix = "%s~eob%s+%s" % (debian_revision_number,
|
||||
settings.DEBIAN_VERSIONS[dist],
|
||||
new_inc)
|
||||
|
|
Loading…
Reference in New Issue