From 4642c2a8472e41e4443d69eb829c901d9a1a3cad Mon Sep 17 00:00:00 2001 From: VillagerTom Date: Wed, 21 Feb 2024 23:55:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86git=20log=20pretty=20format=E4=B8=ADra?= =?UTF-8?q?w=20body=E6=9B=BF=E6=8D=A2=E4=B8=BAsubject,=20=E9=81=BF?= =?UTF-8?q?=E5=85=8Drevert=20commit=E5=A4=9A=E8=A1=8C=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/alpha.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index 3cdc4fd5..e44bd262 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -45,7 +45,7 @@ jobs: - name: 获取最后一次提交 id: get-last-commit run: | - last_commit=$(git log -1 --pretty="%h %B" --first-parent) + last_commit=$(git log -1 --pretty="%h %s" --first-parent) echo "last_commit=$last_commit" >> $GITHUB_OUTPUT - name: 更新版本号