Skip to content

Commit 31fd5fa

Browse files
committed
Fixed release action
1 parent 075ba09 commit 31fd5fa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/prepare_release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ jobs:
163163
tag_name="${tag_name}-test"
164164
rel_name="${rel_name}-test"
165165
fi
166+
echo "TAG_NAME=$tag_name" >> $GITHUB_ENV
166167
167168
releaseid=$($SCRIPTS/create_draft_release.sh "$tag_name" "$BRANCH_NAME" "$rel_name" "")
168169
echo "RELEASE_ID: $releaseid"
@@ -192,7 +193,7 @@ jobs:
192193
193194
echo "Uploading $file..."
194195
url=$($SCRIPTS/upload_artifact.sh $RELEASE_ID "$file")
195-
#url=$(echo $url | sed -E "s/untagged-[^\/]*/$SQLITESTUDIO_VERSION/")
196+
url=$(echo $url | sed -E "s/untagged-[^\/]*/$SQLITESTUDIO_VERSION/")
196197
echo "Download url for $file is: $url"
197198
198199
NEW_META=$(
@@ -245,5 +246,5 @@ jobs:
245246
done
246247
247248
body=$(printf "%s\n" "${body_lines[@]}")
248-
$SCRIPTS/update_release_body.sh $RELEASE_ID "$body" >/dev/null
249+
$SCRIPTS/update_release_body.sh $RELEASE_ID "$TAG_NAME" "$body" >/dev/null
249250

0 commit comments

Comments
 (0)