From d54acaefe54c73e233019a035452f88e44051fbd Mon Sep 17 00:00:00 2001 From: Julia Januchowski <55033207+juliajanu@users.noreply.github.com> Date: Mon, 23 Oct 2023 11:17:48 -0400 Subject: [PATCH] SWI-1695: updating the regex again (#78) --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e5c561c..fe2b695 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -37,7 +37,7 @@ jobs: - name: Check Release Tag Format run: | - re=^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-(beta|alpha|rc))(\.[0-9]+)?$ + re='^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-(beta|alpha|rc))(\.[0-9]+)?$' if ! [[ $RELEASE_VERSION =~ $re ]]; then echo "Tag does not match expected regex pattern for beta releases ($re)" echo $RELEASE_VERSION @@ -88,7 +88,7 @@ jobs: - name: Check Release Tag Format run: | - re=^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$ + re='^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$' if ! [[ $RELEASE_VERSION =~ $re ]]; then echo "Tag does not match expected regex pattern for releases ($re)" echo $RELEASE_VERSION