Merge pull request #6335 from zmstone/build-refine-build-script

build: rebar3 no need to release before tar
This commit is contained in:
Zaiming (Stone) Shi 2021-11-30 20:20:29 +01:00 committed by GitHub
commit 616b630781
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
build
View File

@ -65,7 +65,7 @@ docgen() {
make_rel() {
# 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
echo "gpb should not be included in the release"
exit 1