Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorj.spijker@ultimaker.com <jelle spijker>2022-07-12 12:08:22 +0300
committerjspijker <j.spijker@ultimaker.com>2022-07-12 12:08:45 +0300
commit90336ce08e8e624f9ee499c595e6da4a2ca7dcdc (patch)
treeca13f2728af69ea2762add0f9114f20a00bf3029 /.github
parent0a000a756e293a9f8836c39f64f1d60ebc274ffc (diff)
Use the latest prerelease but count from the latest stable
Contributes to CURA-9365
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/conan-recipe-version.yml3
1 files changed, 2 insertions, 1 deletions
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