Browse Source

use the first index

Contributes to CURA-9365
j.spijker@ultimaker.com 2 years ago
parent
commit
4fd744cc95
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/conan-recipe-version.yml

+ 1 - 1
.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}"