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.