diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c42074..4ffecc0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,7 @@ name: release on: push: - tags: ["[0-9]+.[0-9]+.[0-9]+*"] + tags: ["[0-9]+.[0-9]+.[0-9]+*"] workflow_dispatch: jobs: build_binaries: @@ -85,7 +85,11 @@ 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 @@ -94,4 +98,5 @@ jobs: files: | **/*.tar.gz **/*.zip - name: ${{ steps.version.outputs.value }} + name: ${{ steps.version.outputs.value }} + body: ${{ steps.changelog_reader.outputs.changes }}