mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-01 16:18:43 +08:00
Use the latest prerelease but count from the latest stable
Contributes to CURA-9365
This commit is contained in:
parent
5dd1798979
commit
fcc1a38e3f
3
.github/workflows/conan-recipe-version.yml
vendored
3
.github/workflows/conan-recipe-version.yml
vendored
@ -98,8 +98,9 @@ jobs:
|
|||||||
version = tools.Version(tag)
|
version = tools.Version(tag)
|
||||||
except ConanException:
|
except ConanException:
|
||||||
continue
|
continue
|
||||||
if version > latest_branch_version and version.prerelease is "":
|
if version > latest_branch_version:
|
||||||
latest_branch_version = version
|
latest_branch_version = version
|
||||||
|
if version.prerelease_tag is "":
|
||||||
latest_branch_tag = repo.tag(tag)
|
latest_branch_tag = repo.tag(tag)
|
||||||
|
|
||||||
# %% Get the actual version
|
# %% Get the actual version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user