Skip to content

Commit 94fd0dd

Browse files
committed
fix: Second attempt
1 parent 37bf9d8 commit 94fd0dd

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,13 @@ jobs:
8181
run: git add src/r2x/__version__.py
8282

8383
- name: Commit new version
84+
shell: bash
8485
run: |
86+
git config --global user.email "${{ steps.import-gpg.outputs.email }}"
87+
git config --global user.name "${{ steps.import-gpg.outputs.name }}"
8588
git commit -m "Bump version to v${{ env.NEW_VERSION}}"
8689
git tag v${{ env.NEW_VERSION }} -m "Release version ${{ env.NEW_VERSION }}"
8790
git push origin main --tags
88-
env:
89-
GIT_AUTHOR_NAME: ${{ steps.import-gpg.outputs.name }}
90-
GIT_AUTHOR_EMAIL: ${{ steps.import-gpg.outputs.email }}
91-
GIT_COMMITTER_NAME: ${{ steps.import-gpg.outputs.name }}
92-
GIT_COMMITTER_EMAIL: ${{ steps.import-gpg.outputs.email }}
9391
9492
- name: Build package
9593
run: |

0 commit comments

Comments
 (0)