diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 129b55dbb60aa07348c17f8f5337b411bc49e958..d6f3c3eae66d0327ad96506a9752d74987d612e6 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