Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HaiyiMei committed Jun 27, 2024
1 parent f624add commit ade5260
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,20 @@ jobs:
- name: Determine next version
run: |
# Get the next version from the previous step
VERSION="${{ steps.bumpr.outputs.next_version }}"
if [ -z "$VERSION" ]; then
echo "No version bump needed."
exit 0
fi
# Git configuration
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
# Checkout to PR branch
git checkout ${{ github.head_ref }}
git tag -a "$VERSION" -m "Release $VERSION"
pip install .
# Update plugin info
if ${{ steps.filter.outputs.blender == 'true' }}; then
python -m xrfeitoria.utils.publish_plugins update-bpy-version
fi
Expand Down

0 comments on commit ade5260

Please sign in to comment.