From 4fd744cc95680e714074ed6eba46217b73c59ffc Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Tue, 12 Jul 2022 10:58:07 +0200 Subject: [PATCH] use the first index Contributes to CURA-9365 --- .github/workflows/conan-recipe-version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/conan-recipe-version.yml b/.github/workflows/conan-recipe-version.yml index a69b1206e0..4dc7821a5f 100644 --- a/.github/workflows/conan-recipe-version.yml +++ b/.github/workflows/conan-recipe-version.yml @@ -85,7 +85,7 @@ jobs: elif repo.active_branch.name == "main" or repo.active_branch.name == "master": channel = 'testing' else: - channel = repo.active_branch.name.split("_").replace("-", "_").lower() + channel = repo.active_branch.name.split("_")[0].replace("-", "_").lower() if event_name == "pull_request": channel = f"pr_{issue_number}"