From 050e72f76c1954e9faec56c1efb33febd74b2ce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E5=B9=BF?= Date: Mon, 20 Jan 2025 14:13:17 +0800 Subject: [PATCH] Update check-latest-version.yml --- .github/workflows/check-latest-version.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-latest-version.yml b/.github/workflows/check-latest-version.yml index 743afa1..6a1d96f 100644 --- a/.github/workflows/check-latest-version.yml +++ b/.github/workflows/check-latest-version.yml @@ -19,7 +19,7 @@ jobs: exit 1 fi echo "version=${version}" >> $GITHUB_ENV - grep -q "tag: v${version}" mkdocs.yml || echo "update=true" >> $GITHUB_ENV + grep -q "tag: ${version}" mkdocs.yml || echo "update=true" >> $GITHUB_ENV - name: Update Version if: env.update == 'true' @@ -29,4 +29,4 @@ jobs: git config --global user.email 'github-actions[bot]@users.noreply.github.com' git add . git commit -m "Update Version to ${{ env.version }}" - git push origin HEAD \ No newline at end of file + git push origin HEAD