From f9b7d74050dd7bbe4e873d3cf35d493057b8c96b Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Fri, 8 Jul 2022 15:37:18 +0200 Subject: [PATCH] Use full pr number Contributes to CURA-9365 --- .github/workflows/conan-recipe-version.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conan-recipe-version.yml b/.github/workflows/conan-recipe-version.yml index d73bf7d4a8..e894f0a0c3 100644 --- a/.github/workflows/conan-recipe-version.yml +++ b/.github/workflows/conan-recipe-version.yml @@ -81,8 +81,8 @@ jobs: # Event triggered by a pull_request echo ${{ github.repository_owner }} | awk '{print "::set-output name=user::"tolower($0)}' branch=${{ github.ref_name }} - sanitized_branch=$(echo $branch | egrep -o '^[^/]+') - echo $sanitized_branch | awk '{print "::set-output name=channel::"substr(tolower($0),0,9)}' + sanitized_branch=$(echo pr_$branch | egrep -o '^[^/]+') + echo '::set-output channel=$sanitized_branch' echo '::set-output version=${{ steps.git-tool.outputs.Major }}.${{ steps.git-tool.outputs.Minor }}.${{ steps.git-tool.outputs.Patch }}-${{ steps.git-tool.outputs.PreReleaseLabel }}+${{ steps.git-tool.outputs.BuildMetaData }}' else # commits on other branches are considered unstable and for development purposes only