ci: assert no restart_emulator in relup
This commit is contained in:
parent
8835296c7a
commit
19d36fbf14
9
build
9
build
|
@ -104,7 +104,14 @@ make_relup() {
|
|||
fi
|
||||
./rebar3 as "$PROFILE" relup --relname emqx --relvsn "${PKG_VSN}"
|
||||
|
||||
# rollback relup
|
||||
# assert that there is no 'restart_emulator' in relup
|
||||
# EMQX wants hot upgrade without VM restart
|
||||
if grep restart_emulator "${releases_dir}/${PKG_VSN}/relup"; then
|
||||
echo "Error: restart_emulator instruction found in relup";
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# rollback rel file per releases
|
||||
#
|
||||
if [[ ${PKG_VSN} == 4.3* ]]; then
|
||||
echo "restore upgrade base rel files... "
|
||||
|
|
Loading…
Reference in New Issue