From f379f122a918c0e3e60334a4c100bb32a4711d77 Mon Sep 17 00:00:00 2001 From: Sami Virpioja Date: Wed, 20 Sep 2023 21:38:10 +0300 Subject: [PATCH] publish release candidates in PyPI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6086bee..6a382db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,7 @@ jobs: if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') id: check-tag run: | - if [[ ${{ github.event.ref }} =~ ^refs/tags/[0-9]+\.[0-9]+\.[0-9]+$ ]]; then + if [[ ${{ github.event.ref }} =~ ^refs/tags/[0-9]+\.[0-9]+\.[0-9]+(rc[0-9]*)?$ ]]; then echo ::set-output name=match::true fi - name: Set up Python 3.7