Skip to content

Commit

Permalink
chore(changelog): up build.yml to generate changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
lejianwen committed Dec 22, 2024
1 parent 64f4a6d commit 8b00b91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,14 @@ jobs:
${{ matrix.job.goos}}-${{ matrix.job.platform }}.${{matrix.job.file_ext}}
- name: Generate Changelog
run: npx changelogithub # or [email protected] if ensure the stable result
run: npx changelogithub --output CHANGELOG.md # or [email protected] if ensure the stable result
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Upload to GitHub Release
uses: softprops/action-gh-release@v2
with:
body_path: CHANGELOG.md
files: |
${{ matrix.job.goos}}-${{ matrix.job.platform }}.${{matrix.job.file_ext}}
# tag_name: ${{ env.LATEST_TAG }}
Expand Down

0 comments on commit 8b00b91

Please sign in to comment.