diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a6a11b4..dca23e3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -84,29 +84,12 @@ jobs: ocm add componentversions --create \ --file openmcp-ctf component-constructor.yaml \ --settings components-versions.yaml -- OPENMCP_VERSION=${{ env.version }} OPENMCP_VERSION_COMMIT=$(git show-ref --hash ${{ env.version }}) - - - name: Get PR body for current commit - id: release_highlights - if: ${{ env.SKIP != 'true' }} - - run: | - COMMIT_SHA=$(git rev-parse HEAD) - PR_NUMBER=$(gh pr list --search "$COMMIT_SHA" --state merged --json number --jq '.[0].number') - if [ -z "$PR_NUMBER" ]; then - echo "No PR found for commit $COMMIT_SHA, skipping." - echo "pr_body=" >> "$GITHUB_ENV" - exit 0 - fi - echo "pr_body=\"$(gh pr view "$PR_NUMBER" --json body --jq .body)\"" >> "$GITHUB_ENV" - env: - GITHUB_TOKEN: ${{ github.token }} - name: Build Changelog if: ${{ env.SKIP != 'true' }} id: constructed_release run: | cat hack/release-body.tpl > RELEASE_BODY.md - echo "${{ env.pr_body }}" >> RELEASE_BODY.md echo -e "## Components:\n" >> RELEASE_BODY.md ./hack/generate_release_notes.sh openmcp-ctf >> RELEASE_BODY.md env: diff --git a/hack/release-body.tpl b/hack/release-body.tpl index 9375700..b39e172 100644 --- a/hack/release-body.tpl +++ b/hack/release-body.tpl @@ -1,3 +1 @@ -# MCP Landscape - -## Highlights +# openMCP