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