File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,10 +86,10 @@ jobs:
8686 PR_NUMBER=$(gh pr list --search "$COMMIT_SHA" --state merged --json number --jq '.[0].number')
8787 if [ -z "$PR_NUMBER" ]; then
8888 echo "No PR found for commit $COMMIT_SHA, skipping."
89- echo "body =" >> $GITHUB_OUTPUT
89+ echo "pr_body =" >> "$GITHUB_ENV"
9090 exit 0
9191 fi
92- gh pr view "$PR_NUMBER" --json body --jq .body
92+ echo "pr_body=\"$( gh pr view "$PR_NUMBER" --json body --jq .body)\"" >> "$GITHUB_ENV"
9393 env :
9494 GITHUB_TOKEN : ${{ github.token }}
9595
9898 id : constructed_release
9999 run : |
100100 cat hack/release-body.tpl > RELEASE_BODY.md
101- echo "${{ steps.github_release.outputs.release_highlights }}" >> RELEASE_BODY.md
101+ echo "${{ env.pr_body }}" >> RELEASE_BODY.md
102102 echo -e "## Components:\n" >> RELEASE_BODY.md
103103 ./hack/generate_release_notes.sh openmcp-ctf >> RELEASE_BODY.md
104104 env :
You can’t perform that action at this time.
0 commit comments