build: rebar3 no need to release before tar
This commit is contained in:
parent
6b65151f69
commit
682b672b87
2
build
2
build
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue