Skip to content

Commit

Permalink
Update tag matching
Browse files Browse the repository at this point in the history
  • Loading branch information
teald committed Mar 18, 2024
1 parent 5318983 commit fa37102
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
tags:
# Matches tags like `1.2.3`, `1.2.3a`, `1.2.3a101`, etc.
- '[0-9]+.[0-9]+.[0-9][1-9]*[ab]?[0-9]*'
- '[0-9]+.[0-9]+.dev[0-9][1-9]*'
- '[0-9]+.[0-9]+.[0-9][1-9]*'
- '[0-9]+.[0-9]+.[0-9][1-9]*[ab]?[0-9]*.dev[0-9]+'
- '[0-9]+.[0-9]+.[0-9][1-9]*[ab]?[0-9]*.post[0-9]+'

jobs:
deploy:
Expand All @@ -33,6 +33,7 @@ jobs:
- name: Update version (kept at 0.0.0) in pyproject.toml and build
run: |
poetry version ${{ github.ref_name }}
poetry version
poetry build
- name: Mint token
Expand Down

0 comments on commit fa37102

Please sign in to comment.