Skip to content

Commit

Permalink
Fix the tag patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
FanwangM committed Dec 12, 2024
1 parent d6d082e commit a3650ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pypi_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a3650ea

Please sign in to comment.