From 53b762632c53b9fe09a6b8a310d54838c302d644 Mon Sep 17 00:00:00 2001 From: Paul Hobson Date: Mon, 26 Feb 2024 12:00:00 -0800 Subject: [PATCH] update release tag pattern matching --- .github/workflows/python-publish-pypi.yml | 2 +- .github/workflows/python-publish-testpypi.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-publish-pypi.yml b/.github/workflows/python-publish-pypi.yml index 10abf15..16d948d 100644 --- a/.github/workflows/python-publish-pypi.yml +++ b/.github/workflows/python-publish-pypi.yml @@ -3,7 +3,7 @@ on: push: # Pattern matched against refs/tags tags: - - 'v*' # Push events to every tag not containing / + - 'v*/release' # Push events to every that ends in /release jobs: build: name: Build distribution 📦 diff --git a/.github/workflows/python-publish-testpypi.yml b/.github/workflows/python-publish-testpypi.yml index b5ded47..50e46c3 100644 --- a/.github/workflows/python-publish-testpypi.yml +++ b/.github/workflows/python-publish-testpypi.yml @@ -4,7 +4,7 @@ on: push: # Pattern matched against refs/tags tags: - - 'test*' # Push events to every tag not containing / + - 'v**test*' # Push events to every that ends in "test[something]" (can have many /-levels) jobs: build: