mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Use remotes/origin
This commit is contained in:
parent
c3a75fd3d3
commit
e7d7a23be8
1 changed files with 2 additions and 6 deletions
8
.github/workflows/conan-recipe-version.yml
vendored
8
.github/workflows/conan-recipe-version.yml
vendored
|
@ -173,17 +173,13 @@ jobs:
|
|||
branches_version = []
|
||||
for branch in repo.references:
|
||||
try:
|
||||
print(branch.abspath)
|
||||
if "heads" in branch.abspath:
|
||||
if "remotes/origin" in branch.abspath:
|
||||
b_version = tools.Version(branch.name)
|
||||
if b_version < tools.Version("10.0.0"):
|
||||
branches_version.append(b_version)
|
||||
except:
|
||||
pass
|
||||
if len(branches_version) > 0:
|
||||
latest_branches_version = max(sorted(branches_version))
|
||||
else:
|
||||
latest_branches_version = tools.Version("5.3") # FIXME: Do not hardcode
|
||||
latest_branches_version = max(sorted(branches_version))
|
||||
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