Skip to content

Commit 92980d8

Browse files
committed
ci: fix marketplace publish
1 parent 72512ad commit 92980d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish-marketplace.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@ jobs:
5050
id: release
5151
env:
5252
GH_TOKEN: ${{ github.token }}
53+
RELEASE_BODY: ${{ github.event.release.body }}
5354
run: |
5455
TAG="${{ needs.get-version.outputs.version }}"
5556
if [ "${{ github.event_name }}" == "release" ]; then
5657
echo "url='${{ github.event.release.html_url }}'" >> $GITHUB_OUTPUT
57-
echo "body=$(echo ${{ github.event.release.body }} | base64 -w 0)" >> $GITHUB_OUTPUT
58+
echo "body=$(echo "$RELEASE_BODY" | base64 -w 0)" >> $GITHUB_OUTPUT
5859
else
5960
RELEASE_JSON=$(gh release view "$TAG" --json body,url)
6061
echo "url=$(echo "$RELEASE_JSON" | jq -r '.url')" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)