Skip to content

Commit a37d2d0

Browse files
committed
ci(workflow): 添加自动生成变更日志步骤
在自动更新工作流中添加生成变更日志的步骤,使用changelogithub工具自动生成变更记录
1 parent 26aea99 commit a37d2d0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/auto-update.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ jobs:
111111
git push origin main
112112
git push origin "$TAG_VERSION"
113113
114+
- name: Generate changelog
115+
if: steps.check-update.outputs.skip != 'true'
116+
run: pnpm dlx changelogithub
117+
env:
118+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
119+
114120
- name: Publish to npm
115121
if: steps.check-update.outputs.skip != 'true'
116122
run: pnpm publish --no-git-checks

0 commit comments

Comments
 (0)