From 35d6deb87287c648c908f20a03a94fe7698c04b8 Mon Sep 17 00:00:00 2001 From: Arisu Tachibana Date: Thu, 26 Dec 2024 09:50:12 +0900 Subject: [PATCH] pypi-publish: publish only with a production tags "on: release:" workflow catches also dev release, but dev release are published only on testing PyPI, at the moment Signed-off-by: Arisu Tachibana --- .github/workflows/pypi-publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 3c33e25..99d22d7 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -1,8 +1,9 @@ name: Publish package to PyPI on: - release: - types: [published] + push: + tags: + - "v*.*.*" jobs: pypi_publish: