mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
Fix release is pushed to branch and not tagged
This commit is contained in:
parent
95faab7eb9
commit
c98614e2e1
1 changed files with 19 additions and 24 deletions
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…
Add table
Add a link
Reference in a new issue