Fix regex pattern for release name extraction in fetch-release workflow

This commit is contained in:
XargonWan 2025-01-10 10:03:30 +09:00
parent 12be5d65af
commit 535fcfd068

View file

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