upload to pypi whenever a branch starting with "release/" is released

This commit is contained in:
Lincoln Stein 2023-10-13 12:49:24 -04:00
parent bf9f7271dd
commit fcba4382b2

View File

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