mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06:00
Dirty fix
This commit is contained in:
parent
cc3664fa6a
commit
c3a75fd3d3
1 changed files with 5 additions and 1 deletions
6
.github/workflows/conan-recipe-version.yml
vendored
6
.github/workflows/conan-recipe-version.yml
vendored
|
@ -173,13 +173,17 @@ jobs:
|
|||
branches_version = []
|
||||
for branch in repo.references:
|
||||
try:
|
||||
print(branch.abspath)
|
||||
if "heads" in branch.abspath:
|
||||
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))
|
||||
if len(branches_version) > 0:
|
||||
latest_branches_version = max(sorted(branches_version))
|
||||
else:
|
||||
latest_branches_version = tools.Version("5.3") # FIXME: Do not hardcode
|
||||
if latest_branches_version > latest_branch_version:
|
||||
actual_version = f"{latest_branches_version.major}.{int(latest_branches_version.minor) + 1}.0-alpha+{buildmetadata}{channel_metadata}"
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue