From 1d3693cb1b2107218f10f59069b91d48b92ec0aa Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Fri, 8 Jul 2022 16:01:21 +0200 Subject: [PATCH] Prepend pr_ for pull_request 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 c51f07ec80..bdbcee77e1 100644 --- a/.github/workflows/conan-recipe-version.yml +++ b/.github/workflows/conan-recipe-version.yml @@ -80,7 +80,7 @@ jobs: elif [ "${{ github.event_name == 'pull_request' }}" = "true" ]; then # Event triggered by a pull_request echo ${{ github.repository_owner }} | awk '{print "::set-output name=user::"tolower($0)}' - sanitized_branch=$(echo "${{ github.ref_name }}" | egrep -o "^[^/|_]+") + sanitized_branch=$(echo "pr_${{ github.ref_name }}" | 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