From 6157f64705da71860cc8aa6a9a7e943929b1e9c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=99=E6=BC=A0=E4=B9=8B=E5=AD=90?= <7850715+maboloshi@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:40:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E6=9F=A5=E5=BC=82=E5=B8=B84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.user.js_version_update.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.user.js_version_update.yaml b/.github/workflows/main.user.js_version_update.yaml index 1eb822482..23865b27c 100644 --- a/.github/workflows/main.user.js_version_update.yaml +++ b/.github/workflows/main.user.js_version_update.yaml @@ -20,6 +20,7 @@ jobs: if [ ! "$(git tag --contains ${{ github.sha }})" ]; then # 获得最近以`main.user.js Update to version`开头的提交的sha release_commit_sha=$(git log --grep="^main.user.js Update to version" -n 1 --pretty=format:"%H") + git log -n 10 --pretty=oneline git log --grep="^main.user.js Update to version" -n 1 --pretty=format:"%H" # 对应的时间戳 release_commit_timestamp=$(git show -s --format=%ct $release_commit_sha)