CI: Correct deploy regex to catch fake releases vs real ones

This commit is contained in:
yairm210 2025-03-04 09:05:13 +02:00
parent fba5858c45
commit 5ee160f84f

View File

@ -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