File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,29 +84,12 @@ jobs:
8484 ocm add componentversions --create \
8585 --file openmcp-ctf component-constructor.yaml \
8686 --settings components-versions.yaml -- OPENMCP_VERSION=${{ env.version }} OPENMCP_VERSION_COMMIT=$(git show-ref --hash ${{ env.version }})
87-
88- - name : Get PR body for current commit
89- id : release_highlights
90- if : ${{ env.SKIP != 'true' }}
91-
92- run : |
93- COMMIT_SHA=$(git rev-parse HEAD)
94- PR_NUMBER=$(gh pr list --search "$COMMIT_SHA" --state merged --json number --jq '.[0].number')
95- if [ -z "$PR_NUMBER" ]; then
96- echo "No PR found for commit $COMMIT_SHA, skipping."
97- echo "pr_body=" >> "$GITHUB_ENV"
98- exit 0
99- fi
100- echo "pr_body=\"$(gh pr view "$PR_NUMBER" --json body --jq .body)\"" >> "$GITHUB_ENV"
101- env :
102- GITHUB_TOKEN : ${{ github.token }}
10387
10488 - name : Build Changelog
10589 if : ${{ env.SKIP != 'true' }}
10690 id : constructed_release
10791 run : |
10892 cat hack/release-body.tpl > RELEASE_BODY.md
109- echo "${{ env.pr_body }}" >> RELEASE_BODY.md
11093 echo -e "## Components:\n" >> RELEASE_BODY.md
11194 ./hack/generate_release_notes.sh openmcp-ctf >> RELEASE_BODY.md
11295 env :
Original file line number Diff line number Diff line change 1- # MCP Landscape
2-
3- ## Highlights
1+ # openMCP
You can’t perform that action at this time.
0 commit comments