Skip to content

Commit

Permalink
Push tag manually
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nicoddemus authored Apr 26, 2023
1 parent 9608e96 commit 1cb146a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ jobs:
- name: Publish package to PyPI
uses: pypa/[email protected]

- uses: actions-ecosystem/action-push-tag@v1
with:
tag: v${{ github.event.inputs.version }}
- name: Push tag
run: |
git tag v${{ github.event.inputs.version }} ${{ github.sha }}
git push origin v${{ github.event.inputs.version }}
- name: Set up Python
uses: actions/[email protected]
Expand Down

0 comments on commit 1cb146a

Please sign in to comment.