Add git-cliff for changelog
This commit is contained in:
5
.github/workflows/python-publish.yml
vendored
5
.github/workflows/python-publish.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user