Forráskód Böngészése

chore(buildx.sh): set bash -x option after help message

Zaiming (Stone) Shi 4 éve
szülő
commit
525bf47618
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      scripts/buildx.sh

+ 2 - 1
scripts/buildx.sh

@@ -11,7 +11,6 @@
 ## ./scripts/buildx.sh --profile emqx --pkgtype tgz --arch arm64 --builder ghcr.io/emqx/emqx-builder/4.4-4:24.1.5-3-debian10
 
 set -euo pipefail
-set -x
 
 help() {
     echo
@@ -91,6 +90,8 @@ if [ -z "${PROFILE:-}" ]    ||
     exit 1
 fi
 
+set -x
+
 if [ -z "${WITH_ELIXIR:-}" ]; then
   WITH_ELIXIR=no
 fi