From cc59a7ea8a07b79fb94d6dcb39b8788483bd634b Mon Sep 17 00:00:00 2001 From: Dino Pacandi Date: Tue, 10 Sep 2024 10:17:08 +0200 Subject: [PATCH] Fix --- .github/workflows/release-runtime.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-runtime.yml b/.github/workflows/release-runtime.yml index 2e2ed927b4..949351b8fe 100644 --- a/.github/workflows/release-runtime.yml +++ b/.github/workflows/release-runtime.yml @@ -206,13 +206,14 @@ jobs: latest_runtime_tag=$(echo "$releases" | jq -r ' [ - .[] | select(.name | test("^runtime-\\d{4,}$"; "i")) | .tag_name, - .[] | select(.name | test("^v\\d+\\.\\d+\\.\\d+$"; "i")) | .tag_name + (.[] | select(.name | test("^runtime-\\d{4,}$"; "i")) | .tag_name), + (.[] | select(.name | test("^v\\d+\\.\\d+\\.\\d+$"; "i")) | .tag_name) ] | first ') - echo "latest_runtime_tag=$latest_runtime_tag" >> $GITHUB_OUTPUT + echo "$latest_runtime_tag" + - name: Generate Release Body env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}