mirror of
https://github.com/RetroDECK/Vita3K-bin.git
synced 2025-01-19 12:45:38 +00:00
Fix release body formatting by appending release name and adjusting commit hash inclusion
This commit is contained in:
parent
280593ed09
commit
5a7b3d3ec5
4
.github/workflows/fetch-release.yml
vendored
4
.github/workflows/fetch-release.yml
vendored
|
@ -26,7 +26,6 @@ jobs:
|
|||
run: |
|
||||
latest_release=$(curl -s https://api.github.com/repos/Vita3K/Vita3K/releases/latest)
|
||||
tag_name="$(echo $latest_release | jq -r .tag_name)"
|
||||
release_body="$(echo $latest_release | jq -r .body)"
|
||||
|
||||
# fetching assets
|
||||
mkdir -p artifacts
|
||||
|
@ -42,7 +41,8 @@ jobs:
|
|||
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)"
|
||||
release_body+="Corresponding commit: [$commit_hash](https://github.com/Vita3K/Vita3K/commit/$commit_hash)\n\n"
|
||||
release_body+="$release_name"
|
||||
echo "release_body=$release_body"
|
||||
|
||||
echo "tag_name=$tag_name" >> $GITHUB_ENV
|
||||
|
|
Loading…
Reference in a new issue