Fix tag creation in deploy workflow
As commented in #905, an annotated tag needs a configured user.
This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user