From 5ee160f84f7d49b5138819195d966a4e8bc86513 Mon Sep 17 00:00:00 2001 From: yairm210 Date: Tue, 4 Mar 2025 09:05:13 +0200 Subject: [PATCH] CI: Correct deploy regex to catch fake releases vs real ones --- .github/workflows/buildAndDeploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/buildAndDeploy.yml b/.github/workflows/buildAndDeploy.yml index 7419c6ea6a..6920e567ce 100644 --- a/.github/workflows/buildAndDeploy.yml +++ b/.github/workflows/buildAndDeploy.yml @@ -302,7 +302,7 @@ jobs: - name: Check if this is a real release or a test version, for Github release id: check-version-tag run: | - if [[ ${{ github.ref_name }} =~ [0-9]\.[0-9]+\.[0-9]+ ]]; then + if [[ ${{ github.ref_name }} =~ [0-9]\.[0-9]+\.[0-9]+(-patch[0-9]+)?$ ]]; then echo "real_release=true" >> $GITHUB_OUTPUT fi