From 0752b396fc28eac270d12c97532d64fe9e0b7725 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Fri, 10 Jan 2025 10:09:43 +0900 Subject: [PATCH] Update release name formatting in fetch-release workflow --- .github/workflows/fetch-release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/fetch-release.yml b/.github/workflows/fetch-release.yml index f94af20..29aa60d 100644 --- a/.github/workflows/fetch-release.yml +++ b/.github/workflows/fetch-release.yml @@ -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