Skip to content

Commit

Permalink
add support for a, b, rc, dev, and post versions in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
reece committed Sep 1, 2024
1 parent 21f173b commit 80624c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ name: Python package
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+' # release
- '[0-9]+.[0-9]+.[0-9]+(a|b|rc)[0-9]+' # no dot before alpha, beta, or rc releases
- '[0-9]+.[0-9]+.[0-9]+\.(dev|post)[0-9]+' # dot before dev or post (not semver compliant)
pull_request:

jobs:
Expand Down

0 comments on commit 80624c9

Please sign in to comment.