Browse Source

Check against older versions

jspijker 2 years ago
parent
commit
be057d495d
1 changed files with 3 additions and 1 deletions
  1. 3 1
      .github/workflows/conan-recipe-version.yml

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

@@ -173,7 +173,9 @@ jobs:
                                 branches_version = []
                                 for branch in repo.branches:
                                     try:
-                                        branches_version.append(tools.Version(branch.name))
+                                        b_version = tools.Version(branch.name)
+                                        if b_version < tools.Version("10.0.0"):
+                                            branches_version.append(b_version)
                                     except:
                                         pass
                                 latest_branches_version = max(sorted(branches_version))