From 8d4f55b5f9f1bb896ce90f0d5641e80e7898d22e Mon Sep 17 00:00:00 2001 From: Rene Schallner Date: Mon, 22 May 2023 03:37:37 +0200 Subject: [PATCH] fix release notes in workflow --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 32244b7..03a5f8c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,7 +44,7 @@ jobs: - name: Generate release notes id: release_notes run: | - echo "::set-output name=notes::$(python tools/announceybot/generate_releasenotes.py "${{ steps.tag.outputs.version }}")" + python tools/announceybot/generate_releasenotes.py "${{ steps.tag.outputs.version }}" > relnotes.md - name: Create Release id: create_release @@ -54,7 +54,9 @@ jobs: with: tag_name: ${{ github.ref }} release_name: Release ${{ steps.tag.outputs.version }} # Remove 'refs/tags/' from the tag name - body: ${{ steps.release_notes.outputs.notes }} # Use the release notes from the output of the previous step + # body: ${{ steps.release_notes.outputs.notes }} # Use the release notes from the output of the previous step + body_path: relnotes.md + prerelease: true - name: Announce Release env: