Fix tag name generated by deploy workflow

Traditionally pytest publishes tags in the form `X.Y.Z`, however the deploy workflow (copied from somewhere else) published tags in the form `vX.Y.Z`.

This is the root cause of #11548, because it tried to publish the release notes for tag `X.Y.Z` (which did not exist).

Fix #11548
This commit is contained in:
Bruno Oliveira 2023-10-24 17:37:57 -03:00
parent c7e9b22f37
commit b2f8ca85ab
1 changed files with 2 additions and 2 deletions

View File

@ -53,8 +53,8 @@ jobs:
run: | run: |
git config user.name "pytest bot" git config user.name "pytest bot"
git config user.email "pytestbot@gmail.com" 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 }} ${{ github.event.inputs.version }} ${{ github.sha }}
git push origin v${{ github.event.inputs.version }} git push origin ${{ github.event.inputs.version }}
release-notes: release-notes: