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