From 0db64ffbce70f4e08d0ae985accd4eca6e4bbde5 Mon Sep 17 00:00:00 2001 From: Reece Hart Date: Sun, 1 Sep 2024 17:05:42 -0700 Subject: [PATCH] fix tag expressions in python-package.yml --- .github/workflows/python-package.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index b6a6ec7..a8d822a 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -4,9 +4,12 @@ name: Python package on: push: tags: - - '[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) + - '[0-9]+.[0-9]+.[0-9]+' # release + - '[0-9]+.[0-9]+.[0-9]+a[0-9]+' # alpha + - '[0-9]+.[0-9]+.[0-9]+b[0-9]+' # beta + - '[0-9]+.[0-9]+.[0-9]+rc[0-9]+' # release candidate + - '[0-9]+.[0-9]+.[0-9]+.dev[0-9]+' # dev (not semver compliant) + - '[0-9]+.[0-9]+.[0-9]+.post[0-9]+' # post (not semver compliant) pull_request: jobs: