Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 7 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,22 +124,16 @@ jobs:
fetch-depth: 0 # git-cliff needs full history to build the changelog
token: ${{ secrets.GITHUB_TOKEN }}

- name: Generate changelog for this release (release body)
uses: orhun/git-cliff-action@v3
id: cliff_body
- name: Install git-cliff
uses: taiki-e/install-action@v2
with:
config: cliff.toml
args: --current --strip all
env:
OUTPUT: body.md
tool: git-cliff

- name: Generate changelog for this release (release body)
run: git cliff --config cliff.toml --current --strip all > body.md

- name: Regenerate full CHANGELOG.md
uses: orhun/git-cliff-action@v3
with:
config: cliff.toml
args: --output CHANGELOG.md
env:
OUTPUT: CHANGELOG.md
run: git cliff --config cliff.toml --output CHANGELOG.md

- name: Commit updated CHANGELOG.md
run: |
Expand Down