From e591c1589e8d5f43d3ba3f4bb5acb81e89cf4cb5 Mon Sep 17 00:00:00 2001 From: Oleksii Holub <1935960+Tyrrrz@users.noreply.github.com> Date: Wed, 14 Aug 2024 19:37:21 +0300 Subject: [PATCH] Allow periods in versions --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6ee0fcb..d8077fc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,7 +49,7 @@ jobs: id: stable-version if: ${{ github.event_name == 'release' }} run: | - if ! [[ "${{ github.event.release.tag_name }}" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z].*)?$ ]]; then + if ! [[ "${{ github.event.release.tag_name }}" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z\.].*)?$ ]]; then echo "Invalid version: ${{ github.event.release.tag_name }}" exit 1 fi