diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 95fc55192b9..3c4f6245b17 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -26,7 +26,7 @@ jobs: run: | VERSION=${GITHUB_REF/refs\/tags\//} echo ::set-output name=VERSION::${VERSION} - DOING_RELEASE=$(echo $VERSION | grep -c '^[0-9]\+\.[0-9]\+\.[0-9]\+\(-\([a-zA-Z]\+\)?[0-9]*\)\?$' || true) + DOING_RELEASE=$(echo $VERSION | grep -c '^[0-9]\+\.[0-9]\+\.[0-9]\+\(-\([a-zA-Z]\+\)\?[0-9]*\)\?$' || true) echo ::set-output name=DOING_RELEASE::${DOING_RELEASE} echo $VERSION echo $DOING_RELEASE