diff --git a/scripts/parse-git-ref.sh b/scripts/parse-git-ref.sh index 9591f7b34..9ad424bc3 100755 --- a/scripts/parse-git-ref.sh +++ b/scripts/parse-git-ref.sh @@ -32,7 +32,7 @@ elif [[ $1 =~ ^refs/heads/master$ ]]; then EDITION=Opensource RELEASE=false LATEST=false -elif [[ $1 =~ ^refs/heads/release-[5-9]+$ ]]; then +elif [[ $1 =~ ^refs/heads/release-[5-9][0-9]+$ ]]; then PROFILE=emqx-enterprise EDITION=Enterprise RELEASE=false