From 535fcfd0683fe1d9128e757dc41129066ae34098 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Fri, 10 Jan 2025 10:03:30 +0900 Subject: [PATCH] Fix regex pattern for release name extraction in fetch-release workflow --- .github/workflows/fetch-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fetch-release.yml b/.github/workflows/fetch-release.yml index f4d59a4..703d3ab 100644 --- a/.github/workflows/fetch-release.yml +++ b/.github/workflows/fetch-release.yml @@ -34,7 +34,7 @@ jobs: wget -P artifacts $url done - release_name=$(echo $latest_release | jq -r .body | grep -oP 'Vita3K Build \d+') + release_name=$(echo $latest_release | jq -r .body | grep -oP 'Vita3K Build: \d+' | sed 's/Vita3K Build: /Vita3K Build /') echo "release_name=$release_name" commit_hash=$(echo $latest_release | jq -r .body | grep -oP 'corresponding commit \K[0-9a-f]{40}') if [ -n "$commit_hash" ]; then