Skip to content

Commit c172894

Browse files
authored
Fix tag name generated by deploy workflow (#11550)
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
1 parent dcd8b14 commit c172894

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ jobs:
5353
run: |
5454
git config user.name "pytest bot"
5555
git config user.email "[email protected]"
56-
git tag --annotate --message=v${{ github.event.inputs.version }} v${{ github.event.inputs.version }} ${{ github.sha }}
57-
git push origin v${{ github.event.inputs.version }}
56+
git tag --annotate --message=v${{ github.event.inputs.version }} ${{ github.event.inputs.version }} ${{ github.sha }}
57+
git push origin ${{ github.event.inputs.version }}
5858
5959
release-notes:
6060

0 commit comments

Comments
 (0)