From 89de6507741995f8c8f8fe699c54cd56eba28a3a Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Wed, 20 Dec 2023 11:04:24 +0100 Subject: [PATCH] build: fix release python tag match The version match should also accept patch level strings. Signed-off-by: Daniel Wagner --- .github/workflows/release-python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index 57f36e72..3ca68a94 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -56,7 +56,7 @@ jobs: - name: Check if it is a release tag id: check-tag run: | - if [[ ${{ github.event.ref }} =~ ^refs/tags/v([0-9]+\.[0-9]+)(-rc[0-9]+)?$ ]]; then + if [[ ${{ github.event.ref }} =~ ^refs/tags/v([0-9]+\.[0-9]+)(\.[0-9]+)?(-rc[0-9]+)?$ ]]; then echo ::set-output name=match::true fi - name: Download artifiact