From ba46be717ba7f4a906b1bec2313ed82b37c63dee Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Wed, 28 Dec 2022 20:01:13 +0100 Subject: [PATCH] build: drop relup for edge edition * the edge edition is completely dropped in v5 * typically reboot is acceptable for edge brokers * we do not know how many users are using it * we never really seriously tested relup for edge edition * now there is an issue in relup which will fail edge edition not worth the investment to fix --- build | 2 ++ scripts/relup-base-vsns.sh | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/build b/build index d3c9164eb..9cc68e531 100755 --- a/build +++ b/build @@ -69,6 +69,8 @@ make_rel() { relup_db() { case "$PROFILE" in + *edge*) + ;; *-ee*) ./scripts/relup-base-vsns.escript "$@" ./data/relup-paths-ee.eterm ;; diff --git a/scripts/relup-base-vsns.sh b/scripts/relup-base-vsns.sh index 1aa2b3288..ba19c7d05 100755 --- a/scripts/relup-base-vsns.sh +++ b/scripts/relup-base-vsns.sh @@ -46,6 +46,10 @@ case "${EDITION}" in GIT_TAG_PREFIX="e" RELUP_PATH_FILE="./data/relup-paths-ee.eterm" ;; + *edge*) + # no relup for emqx-edge + exit 0 + ;; *) GIT_TAG_PREFIX="v" RELUP_PATH_FILE="./data/relup-paths.eterm"