mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:55:53 +08:00
Prepend pr_ for pull_request
Contributes to CURA-9365
This commit is contained in:
parent
5f12f1f43b
commit
1d3693cb1b
2
.github/workflows/conan-recipe-version.yml
vendored
2
.github/workflows/conan-recipe-version.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user