mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 13:35:58 +08:00
Remove buildmeta when PR
Contributes to CURA-9365
This commit is contained in:
parent
85d3bb1a3a
commit
7e35a0eddb
2
.github/workflows/conan-recipe-version.yml
vendored
2
.github/workflows/conan-recipe-version.yml
vendored
@ -81,7 +81,7 @@ jobs:
|
||||
# Event triggered by a pull_request
|
||||
echo ${{ github.repository_owner }} | awk '{print "::set-output name=user::"tolower($0)}'
|
||||
echo '::set-output name=channel::pr_${{ github.ref_name }}' | egrep -o '^[^/]+'
|
||||
echo '::set-output name=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 }}'
|
||||
echo '::set-output name=version::${{ steps.git-tool.outputs.Major }}.${{ steps.git-tool.outputs.Minor }}.${{ steps.git-tool.outputs.Patch }}-${{ steps.git-tool.outputs.PreReleaseLabel }}'
|
||||
else
|
||||
# commits on other branches are considered unstable and for development purposes only
|
||||
# Use the Cura branch naming scheme CURA-1234_foo_bar
|
||||
|
Loading…
x
Reference in New Issue
Block a user