Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinonard committed Sep 10, 2024
1 parent 3ff21c0 commit cc59a7e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit cc59a7e

Please sign in to comment.