mirror of
https://github.com/hi2shark/nazhua.git
synced 2026-01-12 07:10:43 +08:00
🛠️ 修改发布工作流以获取最近提交的标题作为变更内容
This commit is contained in:
parent
4126958d54
commit
0875e12d21
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -132,7 +132,7 @@ jobs:
|
||||
- name: Add release notes
|
||||
run: |
|
||||
# 获取最近一次提交的变更内容
|
||||
git diff HEAD^ HEAD --name-only > changes.txt
|
||||
git log -1 --pretty=format:"%s" > changes.txt
|
||||
|
||||
# 获取现有的发布说明
|
||||
gh release view v${{ steps.determine_version.outputs.version }} --json body -q .body > body.txt
|
||||
|
||||
Loading…
Reference in New Issue
Block a user