Browse Source

Count from the latest stable release

Contributes to CURA-9365
j.spijker@ultimaker.com 2 years ago
parent
commit
a1c39c7537
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/conan-recipe-version.yml

+ 1 - 1
.github/workflows/conan-recipe-version.yml

@@ -98,7 +98,7 @@ jobs:
                             version = tools.Version(tag)
                             version = tools.Version(tag)
                         except ConanException:
                         except ConanException:
                             continue
                             continue
-                        if version > latest_branch_version:
+                        if version > latest_branch_version and version.prerelease is "":
                             latest_branch_version = version
                             latest_branch_version = version
                             latest_branch_tag = repo.tag(tag)
                             latest_branch_tag = repo.tag(tag)