Skip to content

Commit

Permalink
Merge pull request #675 from jumpserver/ibuler-patch-1
Browse files Browse the repository at this point in the history
Update check-latest-version.yml
  • Loading branch information
ibuler authored Jan 20, 2025
2 parents dcaebc7 + 050e72f commit 4161a62
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 4161a62

Please sign in to comment.