build: rebar3 no need to release before tar

This commit is contained in:
Zaiming (Stone) Shi 2021-11-30 17:57:58 +01:00
parent 6b65151f69
commit 682b672b87
1 changed files with 1 additions and 1 deletions

2
build
View File

@ -65,7 +65,7 @@ docgen() {
make_rel() { make_rel() {
# shellcheck disable=SC1010 # shellcheck disable=SC1010
./rebar3 as "$PROFILE" do release,tar ./rebar3 as "$PROFILE" do tar
if [ "$(find "_build/$PROFILE/rel/emqx/lib/" -maxdepth 1 -name 'gpb-*' -type d)" != "" ]; then if [ "$(find "_build/$PROFILE/rel/emqx/lib/" -maxdepth 1 -name 'gpb-*' -type d)" != "" ]; then
echo "gpb should not be included in the release" echo "gpb should not be included in the release"
exit 1 exit 1