add ref to pypi-release workflow to fix release with unintentional changes

v3.3.0 was accidentally released with more changes than intended. This workflows change will allow us release to pypi from a separate branch rather than main.
This commit is contained in:
psychedelicious 2023-10-13 18:52:27 +11:00
parent d3821594df
commit bf9f7271dd

View File

@ -28,7 +28,7 @@ jobs:
run: twine check dist/* run: twine check dist/*
- name: check PyPI versions - name: check PyPI versions
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/v2.3' if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/v2.3' || github.ref == 'refs/heads/v3.3.0post1'
run: | run: |
pip install --upgrade requests pip install --upgrade requests
python -c "\ python -c "\