From: Daniel Wagner Date: Wed, 20 Dec 2023 10:04:24 +0000 (+0100) Subject: build: fix release python tag match X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=89de6507741995f8c8f8fe699c54cd56eba28a3a;p=users%2Fsagi%2Flibnvme.git build: fix release python tag match The version match should also accept patch level strings. Signed-off-by: Daniel Wagner --- 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