From 31fd5fa9f8de458c8f9f0c25e9d08f19ce0dbaf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Salawa?= Date: Thu, 16 Jan 2025 10:08:53 +0100 Subject: [PATCH] Fixed release action --- .github/workflows/prepare_release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prepare_release.yml b/.github/workflows/prepare_release.yml index 2fc4e46327..9b2ce586de 100644 --- a/.github/workflows/prepare_release.yml +++ b/.github/workflows/prepare_release.yml @@ -163,6 +163,7 @@ jobs: tag_name="${tag_name}-test" rel_name="${rel_name}-test" fi + echo "TAG_NAME=$tag_name" >> $GITHUB_ENV releaseid=$($SCRIPTS/create_draft_release.sh "$tag_name" "$BRANCH_NAME" "$rel_name" "") echo "RELEASE_ID: $releaseid" @@ -192,7 +193,7 @@ jobs: echo "Uploading $file..." url=$($SCRIPTS/upload_artifact.sh $RELEASE_ID "$file") - #url=$(echo $url | sed -E "s/untagged-[^\/]*/$SQLITESTUDIO_VERSION/") + url=$(echo $url | sed -E "s/untagged-[^\/]*/$SQLITESTUDIO_VERSION/") echo "Download url for $file is: $url" NEW_META=$( @@ -245,5 +246,5 @@ jobs: done body=$(printf "%s\n" "${body_lines[@]}") - $SCRIPTS/update_release_body.sh $RELEASE_ID "$body" >/dev/null + $SCRIPTS/update_release_body.sh $RELEASE_ID "$TAG_NAME" "$body" >/dev/null \ No newline at end of file