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 }}