chore: update git config in release workflow

This commit is contained in:
Aman Varshney
2025-09-13 07:53:36 +05:30
parent 0f57a93bdd
commit d39fa6e306

View File

@@ -29,8 +29,8 @@ jobs:
- name: Create and push tag - name: Create and push tag
if: steps.version.outputs.version != '' if: steps.version.outputs.version != ''
run: | run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.email "amanvarshney.work@gmail.com"
git config --local user.name "github-actions[bot]" git config --local user.name "Aman Varshney"
# Check if tag exists before creating # Check if tag exists before creating
if ! git rev-parse "v${{ steps.version.outputs.version }}" >/dev/null 2>&1; then if ! git rev-parse "v${{ steps.version.outputs.version }}" >/dev/null 2>&1; then
git tag -a "v${{ steps.version.outputs.version }}" -m "Release v${{ steps.version.outputs.version }}" git tag -a "v${{ steps.version.outputs.version }}" -m "Release v${{ steps.version.outputs.version }}"