mirror of
https://github.com/RetroDECK/Vita3K-bin.git
synced 2025-04-10 19:15:13 +00:00
Enhance fetch-release workflow by adding debug echo statements for release name, commit hash, and release body
This commit is contained in:
parent
07ebb34954
commit
280593ed09
4
.github/workflows/fetch-release.yml
vendored
4
.github/workflows/fetch-release.yml
vendored
|
|
@ -37,9 +37,13 @@ jobs:
|
|||
ls -lah artifacts
|
||||
|
||||
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}')"
|
||||
echo "commit_hash=$commit_hash"
|
||||
|
||||
release_body+="\n\nCorresponding commit: [$commit_hash](https://github.com/Vita3K/Vita3K/commit/$commit_hash)"
|
||||
echo "release_body=$release_body"
|
||||
|
||||
echo "tag_name=$tag_name" >> $GITHUB_ENV
|
||||
echo "release_body=$release_body" >> $GITHUB_ENV
|
||||
|
|
|
|||
Loading…
Reference in a new issue