diff --git a/.github/workflows/python-publish-pypi.yml b/.github/workflows/python-publish-pypi.yml index 10abf15..16d948d 100644 --- a/.github/workflows/python-publish-pypi.yml +++ b/.github/workflows/python-publish-pypi.yml @@ -3,7 +3,7 @@ on: push: # Pattern matched against refs/tags tags: - - 'v*' # Push events to every tag not containing / + - 'v*/release' # Push events to every that ends in /release jobs: build: name: Build distribution 📦 diff --git a/.github/workflows/python-publish-testpypi.yml b/.github/workflows/python-publish-testpypi.yml index b5ded47..50e46c3 100644 --- a/.github/workflows/python-publish-testpypi.yml +++ b/.github/workflows/python-publish-testpypi.yml @@ -4,7 +4,7 @@ on: push: # Pattern matched against refs/tags tags: - - 'test*' # Push events to every tag not containing / + - 'v**test*' # Push events to every that ends in "test[something]" (can have many /-levels) jobs: build: