Skip to content

Commit

Permalink
chore: Adding git-cliff reelase notes automation
Browse files Browse the repository at this point in the history
  • Loading branch information
gcarreno committed Apr 28, 2024
1 parent 2bd4d00 commit 765dc65
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 765dc65

Please sign in to comment.