mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 03:16:00 +08:00
Fix release is pushed to branch and not tagged
This commit is contained in:
parent
328cff594a
commit
95faab7eb9
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…
x
Reference in New Issue
Block a user