Просмотр исходного кода

ci: fix regex in parse-git-ref.sh

Ivan Dyachkov 2 лет назад
Родитель
Сommit
43116a0797
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scripts/parse-git-ref.sh

+ 1 - 1
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