mirror of
https://github.com/RetroDECK/Vita3K-bin.git
synced 2025-01-19 04:35:39 +00:00
Fix regex pattern for release name extraction in fetch-release workflow
This commit is contained in:
parent
12be5d65af
commit
535fcfd068
2
.github/workflows/fetch-release.yml
vendored
2
.github/workflows/fetch-release.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue