Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Binyang2014 committed Jan 2, 2025
1 parent fd80819 commit 53b38ae
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/update-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,12 @@ jobs:
run: |
git config user.name "github-actions"
git config user.email "[email protected]"
git add CITATION.cff docs/conf.py include/mscclpp/core.hpp pyproject.toml
git commit -m "Update version to ${{ env.VERSION }}"
git push
git add CITATION.cff docs/conf.py include/mscclpp/core.hpp pyproject.toml || true
if git diff --cached --exit-code; then
echo "No changes to commit."
else
git commit -m "Update version to ${{ env.VERSION }}"
git push
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 53b38ae

Please sign in to comment.