From 7a5284015cbed10ce8b2c9fd19248f05ef48e1b3 Mon Sep 17 00:00:00 2001 From: Mehul Arora Date: Tue, 5 Nov 2024 10:26:34 -0500 Subject: [PATCH] fix: automatically add release notes --- .github/workflows/release.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c42074..2f7a5e8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,13 +85,18 @@ jobs: uses: SebRollen/toml-action@v1.2.0 with: file: Cargo.toml - field: package.version + field: package.version + - uses: mindsers/changelog-reader-action@v2 + id: changelog_reader + with: + version: ${{ steps.version.outputs.value }} - name: download artifacts uses: actions/download-artifact@v4 - - name: create release + - name: create release uses: softprops/action-gh-release@v2 with: files: | **/*.tar.gz **/*.zip - name: ${{ steps.version.outputs.value }} + name: ${{ steps.version.outputs.value }} + body: ${{ steps.changelog_reader.outputs.changes }}