mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07: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
|
no_commits += 1
|
||||||
|
|
||||||
if no_commits == 0:
|
if no_commits == 0:
|
||||||
# This is a release
|
# This is a release on a branch
|
||||||
actual_version = f"{latest_branch_version.major}.{latest_branch_version.minor}.{latest_branch_version.patch}"
|
actual_version = f"{latest_branch_version}"
|
||||||
if channel == "stable":
|
|
||||||
user = "_"
|
|
||||||
channel = "_"
|
|
||||||
else:
|
else:
|
||||||
latest_branch_version_prerelease = latest_branch_version.prerelease
|
latest_branch_version_prerelease = latest_branch_version.prerelease
|
||||||
if latest_branch_version.prerelease and not "." in 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