From 7a01a7a5506fd146498e6db0abba3a06bcec65a3 Mon Sep 17 00:00:00 2001 From: James Sharpe Date: Mon, 18 Nov 2024 22:01:39 +0000 Subject: [PATCH] Fix check for older branches patches --- .github/workflows/pages.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml index 81f51741..e9ca9f7f 100644 --- a/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yaml @@ -52,7 +52,7 @@ jobs: v_minor="$(echo "$ref" | cut -d. -f2)" v_patch="$(echo "$ref" | cut -d. -f3)" - [[ $v_major -gt 10 ]] && exit + [[ $v_minor -gt 10 ]] && exit mkdir -p ${{ github.workspace }}/.github curl https://raw.githubusercontent.com/bazel-contrib/rules_foreign_cc/main/.github/docs-${{ matrix.ref }}.patch > ${{ github.workspace }}/.github/docs-${{ matrix.ref }}.patch