fix: 更新发布工作流以包含最近提交的详细变更内容

This commit is contained in:
hi2hi 2024-12-09 02:58:35 +00:00
parent a1676c9b3e
commit 1800486d24

View File

@ -132,7 +132,7 @@ jobs:
- name: Add release notes
run: |
# 获取最近一次提交的变更内容
git log -1 --pretty=format:"%s" > changes.txt
git log -1 --pretty=format:"%s%n%b" > changes.txt
# 获取现有的发布说明
gh release view v${{ steps.determine_version.outputs.version }} --json body -q .body > body.txt