diff options
author | j.spijker@ultimaker.com <jelle spijker> | 2022-07-08 17:01:21 +0300 |
---|---|---|
committer | jspijker <j.spijker@ultimaker.com> | 2022-07-08 17:01:21 +0300 |
commit | 1d3693cb1b2107218f10f59069b91d48b92ec0aa (patch) | |
tree | 9b1331a109422ef61f5af48c791e8b5dddd610d1 | |
parent | 5f12f1f43b182d6c624cd112f8192f9450de8118 (diff) |
Prepend pr_ for pull_request
Contributes to CURA-9365
-rw-r--r-- | .github/workflows/conan-recipe-version.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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 |