mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
chore: update git config in release workflow
This commit is contained in:
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@@ -29,8 +29,8 @@ jobs:
|
||||
- name: Create and push tag
|
||||
if: steps.version.outputs.version != ''
|
||||
run: |
|
||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config --local user.name "github-actions[bot]"
|
||||
git config --local user.email "amanvarshney.work@gmail.com"
|
||||
git config --local user.name "Aman Varshney"
|
||||
# Check if tag exists before creating
|
||||
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 }}"
|
||||
|
||||
Reference in New Issue
Block a user