Update conan-recipe-version.yml

This commit is contained in:
Joey de l'Arago 2022-09-30 13:44:36 +02:00 committed by GitHub
parent b81b7c8c63
commit 51b3c338da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,6 +173,14 @@ jobs:
# FIXME: for external PR's # FIXME: for external PR's
actual_version = f"5.2.0-alpha+{buildmetadata}pr_{issue_number}" actual_version = f"5.2.0-alpha+{buildmetadata}pr_{issue_number}"
if is_tag:
print("THE TAG IS: ", ${{ github.ref_name }})
if is_tag and ${{ github.ref_name }} == "5.2.0-beta:
actual_version = "5.2.0-beta"
is_release_branch = True
user = "_"
channel = "_"
# %% print to output # %% print to output
cmd_name = ["echo", f"::set-output name=name::{project_name}"] cmd_name = ["echo", f"::set-output name=name::{project_name}"]
subprocess.call(cmd_name) subprocess.call(cmd_name)