Fix tag creation in deploy workflow

As commented in #905, an annotated tag needs a configured user.
This commit is contained in:
Bruno Oliveira
2023-05-12 17:52:21 -03:00
parent f5b4a5d6ed
commit d8fb60ba7f

View File

@@ -43,5 +43,7 @@ jobs:
- name: Push tag - name: Push tag
run: | run: |
git config user.name "pytest bot"
git config user.email "pytestbot@gmail.com"
git tag --annotate --message=v${{ github.event.inputs.version }} v${{ github.event.inputs.version }} ${{ github.sha }} git tag --annotate --message=v${{ github.event.inputs.version }} v${{ github.event.inputs.version }} ${{ github.sha }}
git push origin v${{ github.event.inputs.version }} git push origin v${{ github.event.inputs.version }}