From fcc1a38e3fd022556697e5140db448bd5aa88ffa Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Tue, 12 Jul 2022 11:08:22 +0200 Subject: [PATCH] Use the latest prerelease but count from the latest stable Contributes to CURA-9365 --- .github/workflows/conan-recipe-version.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/conan-recipe-version.yml b/.github/workflows/conan-recipe-version.yml index 6025da00e9..c185a1d11f 100644 --- a/.github/workflows/conan-recipe-version.yml +++ b/.github/workflows/conan-recipe-version.yml @@ -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