Skip to content

Commit 57f3dc8

Browse files
committed
ci: attempt to fix issue
1 parent ed504b9 commit 57f3dc8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish-marketplace.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ jobs:
5353
run: |
5454
TAG="${{ needs.get-version.outputs.version }}"
5555
if [ "${{ github.event_name }}" == "release" ]; then
56-
echo "url=${{ github.event.release.html_url }}" >> $GITHUB_OUTPUT
57-
echo "body=${{ github.event.release.body }}" >> $GITHUB_OUTPUT
56+
echo "url='${{ github.event.release.html_url }}'" >> $GITHUB_OUTPUT
57+
echo "body=$(echo ${{ github.event.release.body }} | base64)" >> $GITHUB_OUTPUT
5858
else
5959
RELEASE_JSON=$(gh release view "$TAG" --json body,url)
6060
echo "url=$(echo "$RELEASE_JSON" | jq -r '.url')" >> $GITHUB_OUTPUT
61-
echo "body=$(echo "$RELEASE_JSON" | jq -r '.body')" >> $GITHUB_OUTPUT
61+
echo "body=$(echo "$RELEASE_JSON" | jq -r '.body' | base64)" >> $GITHUB_OUTPUT
6262
fi
6363
6464
- name: Extract version from tag
@@ -107,5 +107,5 @@ jobs:
107107
zebar publish --pack-config ./build/zpack.json \
108108
--version-override ${{ steps.version.outputs.version }} \
109109
--commit-sha $(git rev-parse --short ${{ github.sha }}) \
110-
--release-notes "${{ steps.release.outputs.body }}" \
110+
--release-notes "$(echo ${{ steps.release.outputs.body }} | base64 --decode)" \
111111
--release-url ${{ steps.release.outputs.url }}

0 commit comments

Comments
 (0)