Skip to content

Commit 210a272

Browse files
committed
更新 release.yml,修改 git show 命令以去除提交头信息,简化发布日志生成逻辑,提升了代码的可读性和维护性。
1 parent c16addb commit 210a272

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
if git rev-parse HEAD^ >/dev/null 2>&1; then
4545
git diff HEAD^ HEAD > diff.txt
4646
else
47-
git show HEAD --pretty="" --no-commit-header > diff.txt
47+
git show --pretty="" HEAD > diff.txt
4848
fi
4949
5050
- name: Generate AI Release Notes

0 commit comments

Comments
 (0)