From 5602cfc22341b28cf4be221dff5549e99d6c24dc Mon Sep 17 00:00:00 2001 From: Zaiming Shi Date: Wed, 8 Sep 2021 21:04:56 +0200 Subject: [PATCH] chore(build): ensure no gpb in release --- build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build b/build index 727c3a1a2..27626387e 100755 --- a/build +++ b/build @@ -65,6 +65,10 @@ log() { make_rel() { # shellcheck disable=SC1010 ./rebar3 as "$PROFILE" do release,tar + if [ "$(find "_build/$PROFILE/rel/emqx/lib/" -name 'gpb-*' -type d)" != "" ]; then + echo "gpb should not be included in the release" + exit 1 + fi } ## unzip previous version .zip files to _build/$PROFILE/rel/emqx/releases before making relup