Add git-cliff for changelog

This commit is contained in:
2024-05-20 13:47:28 +08:00
parent 139a7379ea
commit 2dbd76b2a2
2 changed files with 94 additions and 0 deletions

View File

@@ -21,6 +21,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip build
- name: Install git-cliff
uses: taiki-e/install-action@git-cliff
- name: Generate changelog
run: git-cliff -l > CHANGELOG.md
- name: Build package
run: |
python3 -m build --sdist --wheel --outdir dist/ .
@@ -31,3 +35,4 @@ jobs:
with:
files: |
dist/*
body_path: ./CHANGELOG.md