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 committed 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
Expand Up @@ -34,9 +34,10 @@ jobs:
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@v1.8.5

- 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/setup-python@v4.5.0
Expand Down

0 comments on commit 1cb146a

Please sign in to comment.