From dd1b0b9f2d2069bd7e9862356de56e562267d308 Mon Sep 17 00:00:00 2001 From: Nico-AP Date: Mon, 2 Dec 2024 12:56:04 +0100 Subject: [PATCH] fix(actions): Update glob patterns to match correct branch tags. --- .github/workflows/merge-dev-to-main.yml | 2 +- .github/workflows/publish-prerelease-to-pypi.yml | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/merge-dev-to-main.yml b/.github/workflows/merge-dev-to-main.yml index 2203c88..43635b3 100644 --- a/.github/workflows/merge-dev-to-main.yml +++ b/.github/workflows/merge-dev-to-main.yml @@ -6,7 +6,7 @@ name: Merge to Main on: push: tags: - - 'v*[0-9].*[0-9]' + - 'v+([0-9]).+([0-9])?(.+([0-9]))' # Matches v1.2 or v1.2.3 jobs: build-test: diff --git a/.github/workflows/publish-prerelease-to-pypi.yml b/.github/workflows/publish-prerelease-to-pypi.yml index 84e8b74..639e3ad 100644 --- a/.github/workflows/publish-prerelease-to-pypi.yml +++ b/.github/workflows/publish-prerelease-to-pypi.yml @@ -1,12 +1,11 @@ # Runs a build test every time a commit is pushed to branch 'main'. -name: Test and Publish Python Package +name: Test and Publish Pre-Release Version of Python Package on: push: tags: - - 'v*[ab]*' - - 'v*rc*' + - 'v*+(a|b|rc)*' jobs: