Skip to content

Commit

Permalink
ci: publish changelog with each release
Browse files Browse the repository at this point in the history
  • Loading branch information
desbma committed Dec 24, 2024
1 parent d346329 commit 575bccb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,22 @@ env:
CARGO_TERM_COLOR: always

jobs:
changelog-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- uses: taiki-e/install-action@v2
with:
tool: git-cliff
- run: git cliff -o CHANGELOG_${{ github.ref_name }}.md $(git tag -l | sort | tail -n -2 | head -n -1)..HEAD
- uses: softprops/action-gh-release@v1
with:
body_path: CHANGELOG_${{ github.ref_name }}.md
token: ${{ secrets.GITHUB_TOKEN }}

bin-amd64-release:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 575bccb

Please sign in to comment.