chore: prepare for 4.5+ and consider 4.4.9+

This commit is contained in:
Thales Macedo Garitezi 2022-08-17 09:17:44 -03:00
parent ca9628342a
commit 2bfb61385f
1 changed files with 2 additions and 2 deletions

4
build
View File

@ -103,7 +103,7 @@ make_relup() {
fi
RELX_BASE_VERSIONS="$(IFS=, ; echo "${releases[*]}")"
export RELX_BASE_VERSIONS
if [[ ${PKG_VSN} == 4.3* || ${PKG_VSN} == 4.5.0* ]]; then
if [[ ${PKG_VSN} == 4.3* || ${PKG_VSN} == 4.5.* ]]; then
echo "EMQX 4.3/4.5 specific, overwrite OTP app versions"
local emqx_rel_file="${releases_dir}/${PKG_VSN}/emqx.rel"
if [ ! -f "${emqx_rel_file}" ]; then
@ -122,7 +122,7 @@ make_relup() {
# rollback rel file per releases
#
if [[ ${PKG_VSN} == 4.3* || ${PKG_VSN} == 4.5.0* ]]; then
if [[ ${PKG_VSN} == 4.3* || ${PKG_VSN} == 4.5.* ]]; then
echo "restore upgrade base rel files... "
for rel in ${releases[*]};
do