mirror of
https://github.com/RetroDECK/Vita3K-bin.git
synced 2025-01-19 04:35:39 +00:00
Update release name formatting in fetch-release workflow
This commit is contained in:
parent
a45c1036d4
commit
0752b396fc
5
.github/workflows/fetch-release.yml
vendored
5
.github/workflows/fetch-release.yml
vendored
|
@ -34,10 +34,9 @@ jobs:
|
|||
wget -P artifacts $url
|
||||
done
|
||||
|
||||
release_name=$(echo $latest_release | jq -r .body | grep -oP 'Vita3K Build: \d+' | sed 's/Vita3K Build: /Vita3K Build /')
|
||||
release_name="$release_name"
|
||||
release_name="$(echo $latest_release | jq -r .body | grep -oP 'Vita3K Build: \d+' | sed 's/Vita3K Build: /Vita3K - Build /')"
|
||||
|
||||
commit_hash=$(echo $latest_release | jq -r .body | grep -oP 'Corresponding commit: \K[0-9a-f]{40}')
|
||||
commit_hash="$(echo $latest_release | jq -r .body | grep -oP 'Corresponding commit: \K[0-9a-f]{40}')"
|
||||
if [ -n "$commit_hash" ]; then
|
||||
release_body+="\n\nCorresponding commit: [$commit_hash](https://github.com/Vita3K/Vita3K/commit/$commit_hash)"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue