From 12be5d65af4f820ed59841a4162b0dacdd530332 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Fri, 10 Jan 2025 10:01:32 +0900 Subject: [PATCH] Fix regex pattern for release name extraction in fetch-release workflow --- .github/workflows/fetch-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/fetch-release.yml b/.github/workflows/fetch-release.yml index 07c9457..f4d59a4 100644 --- a/.github/workflows/fetch-release.yml +++ b/.github/workflows/fetch-release.yml @@ -34,13 +34,14 @@ 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+') 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 release_body=$(echo $latest_release | jq -r .body | sed "s/corresponding commit $commit_hash/corresponding commit https:\/\/github.com\/Vita3K\/Vita3K\/commit\/$commit_hash/") echo "release_body=$release_body" fi + echo "tag_name=$tag_name" >> $GITHUB_ENV echo "release_body=$release_body" >> $GITHUB_ENV echo "assets=$assets" >> $GITHUB_ENV