diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 129b55dbb..d6f3c3eae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: - name: validate tag run: | tag=`git describe --exact-match --tags 2> /dev/null` - if [[ $tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-rc[0-9]+)?$ ]]; then + if [[ $tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-crc[0-9]+|-community)$ ]]; then echo "$tag is a valid release tag" set -e echo "tag=$tag" >> $GITHUB_ENV