Use the latest prerelease but count from the latest stable

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-07-12 11:08:22 +02:00 committed by jspijker
parent 0a000a756e
commit 90336ce08e

View file

@ -98,8 +98,9 @@ jobs:
version = tools.Version(tag)
except ConanException:
continue
if version > latest_branch_version and version.prerelease is "":
if version > latest_branch_version:
latest_branch_version = version
if version.prerelease_tag is "":
latest_branch_tag = repo.tag(tag)
# %% Get the actual version