mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
cast pre
to str to check for .
Contribute to CURA-10317
This commit is contained in:
parent
50c338982e
commit
cca312712a
1 changed files with 1 additions and 1 deletions
2
.github/workflows/conan-recipe-version.yml
vendored
2
.github/workflows/conan-recipe-version.yml
vendored
|
@ -152,7 +152,7 @@ jobs:
|
|||
break
|
||||
no_commits += 1
|
||||
latest_branch_version_prerelease = latest_branch_version.pre
|
||||
if latest_branch_version.pre and not "." in latest_branch_version.pre:
|
||||
if latest_branch_version.pre and not "." in str(latest_branch_version.pre):
|
||||
# The prerealese did not contain a version number, default it to 1
|
||||
latest_branch_version_prerelease = f"{latest_branch_version.pre}.1"
|
||||
if event_name == "pull_request":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue