Skip to content

Commit 1cb146a

Browse files
authored
Push tag manually
The previous action did not work, it complained about not being in a git directory. Did not investigate given this is a two line command.
1 parent 9608e96 commit 1cb146a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/deploy.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ jobs:
3434
- name: Publish package to PyPI
3535
uses: pypa/[email protected]
3636

37-
- uses: actions-ecosystem/action-push-tag@v1
38-
with:
39-
tag: v${{ github.event.inputs.version }}
37+
- name: Push tag
38+
run: |
39+
git tag v${{ github.event.inputs.version }} ${{ github.sha }}
40+
git push origin v${{ github.event.inputs.version }}
4041
4142
- name: Set up Python
4243
uses: actions/[email protected]

0 commit comments

Comments
 (0)