chore(CI): fix pkg-vsn error
This commit is contained in:
parent
4ce7229382
commit
7e3b7bb0fe
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue