Skip to content

Commit d7e12d1

Browse files
committed
fix: restored latest in git cliff
1 parent a58c489 commit d7e12d1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/rust.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@ jobs:
2020
- uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0
23+
fetch-tags: true
2324
token: ${{ secrets.GITHUB_TOKEN }}
2425

2526
- name: Generate changelog
2627
uses: orhun/git-cliff-action@v4
2728
id: changelog
2829
with:
2930
config: cliff.toml
30-
args: --tag ${{ github.ref_name }} --strip header --output CHANGELOG.md
31+
args: --tag latest --strip header --output CHANGELOG.md
3132
env:
3233
GITHUB_REPOSITORY: ${{ github.repository }}
3334
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)