From 95faab7eb92c356fba87bd2c0e822b70feeb19ef Mon Sep 17 00:00:00 2001 From: jelle Spijker Date: Tue, 4 Oct 2022 12:58:45 +0200 Subject: [PATCH] Fix release is pushed to branch and not tagged --- .github/workflows/conan-recipe-version.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/conan-recipe-version.yml b/.github/workflows/conan-recipe-version.yml index cf0febb961..3952a4095b 100644 --- a/.github/workflows/conan-recipe-version.yml +++ b/.github/workflows/conan-recipe-version.yml @@ -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: