File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 33
33
ABI_HEADERS : ${{ steps.vars.outputs.ABI_HEADERS }}
34
34
ABI_LIBS : ${{ steps.vars.outputs.ABI_LIBS }}
35
35
BASELINE_VERSION_MAJOR : ${{ steps.vars.outputs.BASELINE_VERSION_MAJOR }}
36
- BASELINE_VERSION_MINOR : ${{ steps.vars.outputs.BASELINE_VERSION_MINOR }}
37
36
LLVM_VERSION_MAJOR : ${{ steps.version.outputs.LLVM_VERSION_MAJOR }}
38
37
LLVM_VERSION_MINOR : ${{ steps.version.outputs.LLVM_VERSION_MINOR }}
39
38
LLVM_VERSION_PATCH : ${{ steps.version.outputs.LLVM_VERSION_PATCH }}
51
50
id : vars
52
51
run : |
53
52
remote_repo='https://github.com/llvm/llvm-project'
54
- if [ ${{ steps.version.outputs.LLVM_VERSION_MINOR }} -ne 0 ] || [ ${{ steps.version.outputs. LLVM_VERSION_PATCH }} -eq 0 ]; then
53
+ if [ ${{ steps.version.outputs.LLVM_VERSION_PATCH }} -eq 0 ]; then
55
54
major_version=$(( ${{ steps.version.outputs.LLVM_VERSION_MAJOR }} - 1))
56
- baseline_ref="llvmorg-$major_version.0 .0"
55
+ baseline_ref="llvmorg-$major_version.1 .0"
57
56
58
57
# If there is a minor release, we want to use that as the base line.
59
58
minor_ref=$(git ls-remote --refs -t "$remote_repo" llvmorg-"$major_version".[1-9].[0-9] | tail -n1 | grep -o 'llvmorg-.\+' || true)
75
74
else
76
75
{
77
76
echo "BASELINE_VERSION_MAJOR=${{ steps.version.outputs.LLVM_VERSION_MAJOR }}"
78
- echo "BASELINE_REF=llvmorg-${{ steps.version.outputs.LLVM_VERSION_MAJOR }}.0 .0"
77
+ echo "BASELINE_REF=llvmorg-${{ steps.version.outputs.LLVM_VERSION_MAJOR }}.1 .0"
79
78
echo "ABI_HEADERS=."
80
79
echo "ABI_LIBS=libclang.so libclang-cpp.so"
81
80
} >> "$GITHUB_OUTPUT"
You can’t perform that action at this time.
0 commit comments