mirror of
https://github.com/hi2shark/nazhua.git
synced 2026-01-20 11:19:36 +08:00
fix: 更新发布工作流以包含最近提交的详细变更内容
This commit is contained in:
parent
a1676c9b3e
commit
1800486d24
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -132,7 +132,7 @@ jobs:
|
|||||||
- name: Add release notes
|
- name: Add release notes
|
||||||
run: |
|
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
|
gh release view v${{ steps.determine_version.outputs.version }} --json body -q .body > body.txt
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user