Skip to content

Commit

Permalink
Update check-latest-version.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler authored Jan 20, 2025
1 parent dcaebc7 commit 050e72f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-latest-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
git push origin HEAD

0 comments on commit 050e72f

Please sign in to comment.