build: make PKG_VSN pre-set for upgrade base download

This commit is contained in:
Zaiming (Stone) Shi 2022-06-17 20:13:29 +02:00
parent 28c6f70aa3
commit 34df802f5e
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ else
SUFFIX="-$(git rev-parse HEAD | cut -b1-8)"
fi
PKG_VSN="${RELEASE}${SUFFIX}"
PKG_VSN="${PKG_VSN:-${RELEASE}${SUFFIX}}"
if [ "${LONG_VERSION:-}" != 'yes' ]; then
echo "$PKG_VSN"