mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 20:35:53 +08:00
Make release branch detection generic
Contributes to CURA-9365
This commit is contained in:
parent
f9d4628b95
commit
cda4cdf66c
2
.github/workflows/conan-recipe-version.yml
vendored
2
.github/workflows/conan-recipe-version.yml
vendored
@ -70,7 +70,7 @@ jobs:
|
||||
echo ${{ github.repository_owner }} | awk '{print "::set-output name=user::"tolower($0)}'
|
||||
echo '::set-output name=channel::testing'
|
||||
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 }}'
|
||||
elif [ "${{ github.ref_name == '5.1' }}" = "true" ]; then
|
||||
elif [ "${{ github.ref_name == '${{ steps.git-tool.outputs.Major }}.${{ steps.git-tool.outputs.Minor }} }}" = "true" ]; then
|
||||
# commits on release branches are beta's and are considered stable
|
||||
# name/major.minor.patch-beta+build@ultimaker/stable
|
||||
# FIXME: For release branches: maybe rename the branch to release/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user