chore(CI): fix pkg-vsn error

This commit is contained in:
zhanghongtong 2021-03-24 00:18:40 +08:00
parent 4ce7229382
commit 7e3b7bb0fe
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ fi
RELEASE="$(grep -E "define.+EMQX_RELEASE.+${EDITION}" include/emqx_release.hrl | cut -d '"' -f2)"
if [ -d .git ] && ! git describe --tags --match "${RELEASE}" --exact >/dev/null 2>&1; then
if [ -d .git ] && ! git describe --tags --match "[e|v]${RELEASE}" --exact >/dev/null 2>&1; then
SUFFIX="-$(git rev-parse HEAD | cut -b1-8)"
fi