diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 80efb18..b912c17 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -61,11 +61,20 @@ jobs: - name: Build Release run: make release-all + - name: Generate Release Notes + id: git-cliff + uses: orhun/git-cliff-action@v2 + with: + config: cliff.toml + args: --latest --strip header + env: + OUTPUT: CHANGES.md + - name: Create GitHub release uses: softprops/action-gh-release@v1 with: - name: EIYARO ${{ env.tag }} - body: "## New release" + name: EIYARO ${{ github.ref_name }} + body: ${{ steps.git-cliff.outputs.content }} files: target/* env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}