mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 13:17:51 -06:00
Check against refs
This commit is contained in:
parent
be057d495d
commit
cc3664fa6a
1 changed files with 5 additions and 4 deletions
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}"
|
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:
|
else:
|
||||||
branches_version = []
|
branches_version = []
|
||||||
for branch in repo.branches:
|
for branch in repo.references:
|
||||||
try:
|
try:
|
||||||
|
if "heads" in branch.abspath:
|
||||||
b_version = tools.Version(branch.name)
|
b_version = tools.Version(branch.name)
|
||||||
if b_version < tools.Version("10.0.0"):
|
if b_version < tools.Version("10.0.0"):
|
||||||
branches_version.append(b_version)
|
branches_version.append(b_version)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue