chore(ci): generate Changelog **after** release

This commit is contained in:
郭桓桓 2023-03-03 19:32:19 +08:00
parent e83212e00f
commit 274fc0fb31
Signed by: kuohuanhuan
GPG Key ID: FD846A0A797B0D75
1 changed files with 5 additions and 5 deletions

View File

@ -41,11 +41,6 @@ jobs:
with:
token: ${{ secrets.NPM_TOKEN }}
# Step VII
- name: Generate Changelog
run: npx changelogithub@0.12
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Step VIII
- name: GitHub Release
uses: marvinpinto/action-automatic-releases@latest
with:
@ -54,5 +49,10 @@ jobs:
files: |
dist/*
build.tar.gz
# Step VIII
- name: Generate Changelog
run: npx changelogithub@0.12
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Authored by @kuohuanhuan.