mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 04:54:04 -06:00
Fix release is pushed to branch and not tagged
This commit is contained in:
parent
328cff594a
commit
95faab7eb9
1 changed files with 2 additions and 5 deletions
7
.github/workflows/conan-recipe-version.yml
vendored
7
.github/workflows/conan-recipe-version.yml
vendored
|
@ -142,11 +142,8 @@ jobs:
|
|||
no_commits += 1
|
||||
|
||||
if no_commits == 0:
|
||||
# This is a release
|
||||
actual_version = f"{latest_branch_version.major}.{latest_branch_version.minor}.{latest_branch_version.patch}"
|
||||
if channel == "stable":
|
||||
user = "_"
|
||||
channel = "_"
|
||||
# This is a release on a branch
|
||||
actual_version = f"{latest_branch_version}"
|
||||
else:
|
||||
latest_branch_version_prerelease = latest_branch_version.prerelease
|
||||
if latest_branch_version.prerelease and not "." in latest_branch_version.prerelease:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue