mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-01 00:04:27 +08:00
Fix conditional in recipe versioning to use proper syntax
This commit is contained in:
parent
2dbb9ac32f
commit
e073adfa9e
2
.github/workflows/conan-recipe-version.yml
vendored
2
.github/workflows/conan-recipe-version.yml
vendored
@ -135,7 +135,7 @@ jobs:
|
||||
user = "_"
|
||||
channel = "_"
|
||||
else:
|
||||
if not latest_branch_version.prerelease.contains("."):
|
||||
if not "." in latest_branch_version.prerelease:
|
||||
# The prerealese did not contain a version number, default it to 1
|
||||
latest_branch_version.prerelease.append(".1")
|
||||
if event_name == "pull_request":
|
||||
|
Loading…
x
Reference in New Issue
Block a user