mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 05:23:58 -06:00
Use full pr number
Contributes to CURA-9365
This commit is contained in:
parent
0d04f3e517
commit
f9b7d74050
1 changed files with 2 additions and 2 deletions
4
.github/workflows/conan-recipe-version.yml
vendored
4
.github/workflows/conan-recipe-version.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue