From 4f5909221732816b8cc235e840535d0a2d0884ce Mon Sep 17 00:00:00 2001 From: Mencken Davidson <76002183+menckend@users.noreply.github.com> Date: Wed, 23 Oct 2024 14:08:23 -0400 Subject: [PATCH] Update publish-commits-to-pypi-test.yaml --- .github/workflows/publish-commits-to-pypi-test.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-commits-to-pypi-test.yaml b/.github/workflows/publish-commits-to-pypi-test.yaml index 249b8d1..9cbbf85 100644 --- a/.github/workflows/publish-commits-to-pypi-test.yaml +++ b/.github/workflows/publish-commits-to-pypi-test.yaml @@ -1,7 +1,10 @@ name: Publish to test.pypi -on: push - branches: test +on: + push: + branches: + - test + - 'releases/**' jobs: build: if: ${{ startsWith(github.ref, 'refs/tags/') }} # only publish to test.pypi.org on tagged commits from test branch @@ -32,7 +35,6 @@ jobs: with: name: python-package-distributions path: dist/ - publish-to-testpypi: if: ${{ startsWith(github.ref, 'refs/tags/') }} # only publish to test.pypi.org on tagged commits from test branch environment: