Skip to content

Commit

Permalink
Fix tag creation in deploy workflow
Browse files Browse the repository at this point in the history
As commented in #905, an annotated tag needs a configured user.
  • Loading branch information
nicoddemus committed May 12, 2023
1 parent f5b4a5d commit d8fb60b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,7 @@ jobs:

- name: Push tag
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 push origin v${{ github.event.inputs.version }}

0 comments on commit d8fb60b

Please sign in to comment.