mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-01 16:24:41 +08:00
Check against refs
This commit is contained in:
parent
be057d495d
commit
cc3664fa6a
3
.github/workflows/conan-recipe-version.yml
vendored
3
.github/workflows/conan-recipe-version.yml
vendored
@ -171,8 +171,9 @@ jobs:
|
||||
actual_version = f"{latest_branch_version.major}.{latest_branch_version.minor}.{latest_branch_version.patch}-{latest_branch_version.prerelease.split('.')[0]}.{bump_up_release_tag}+{buildmetadata}{channel_metadata}"
|
||||
else:
|
||||
branches_version = []
|
||||
for branch in repo.branches:
|
||||
for branch in repo.references:
|
||||
try:
|
||||
if "heads" in branch.abspath:
|
||||
b_version = tools.Version(branch.name)
|
||||
if b_version < tools.Version("10.0.0"):
|
||||
branches_version.append(b_version)
|
||||
|
Loading…
x
Reference in New Issue
Block a user