From a3650eaae527c53e4aadd67028290f4823800576 Mon Sep 17 00:00:00 2001 From: Fanwang Meng Date: Wed, 30 Oct 2024 21:45:43 -0400 Subject: [PATCH] Fix the tag patterns --- .github/workflows/pypi_release.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypi_release.yaml b/.github/workflows/pypi_release.yaml index e1dba20..6363a60 100644 --- a/.github/workflows/pypi_release.yaml +++ b/.github/workflows/pypi_release.yaml @@ -4,11 +4,11 @@ on: push: tags: # Trigger on version tags (e.g., v1.0.0) - - "v[0-9]+.[0-9]+.[0-9]+" - - "[0-9]+.[0-9]+.[0-9]+" + - "v[0-9].[0-9].[0-9]*" + - "[0-9].[0-9].[0-9]*" # Trigger on pre-release tags (e.g., v1.0.0-alpha.1) - - "v[0-9]+.[0-9]+.[0-9]+-*" - - "[0-9]+.[0-9]+.[0-9]+-*" + - "v[0-9].[0-9].[0-9]*-*" + - "[0-9].[0-9].[0-9]*-*" env: # The name of the package to be published to PyPI and TestPyPI.