mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 12:55:54 +08:00
Fix release is pushed to branch and not tagged
This commit is contained in:
parent
95faab7eb9
commit
c98614e2e1
5
.github/workflows/conan-recipe-version.yml
vendored
5
.github/workflows/conan-recipe-version.yml
vendored
@ -140,11 +140,6 @@ jobs:
|
||||
if commit == latest_branch_tag.commit:
|
||||
break
|
||||
no_commits += 1
|
||||
|
||||
if no_commits == 0:
|
||||
# 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:
|
||||
# The prerealese did not contain a version number, default it to 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user