chore(build): ensure no gpb in release
This commit is contained in:
parent
9ad9f619c1
commit
5602cfc223
4
build
4
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
|
||||
|
|
Loading…
Reference in New Issue