diff --git a/app/data/container-build/cerc-builder-js/build-npm-package.sh b/app/data/container-build/cerc-builder-js/build-npm-package.sh index 4c28bb2c..06237936 100755 --- a/app/data/container-build/cerc-builder-js/build-npm-package.sh +++ b/app/data/container-build/cerc-builder-js/build-npm-package.sh @@ -3,6 +3,11 @@ # Note: supply the registry auth token in CERC_NPM_AUTH_TOKEN # + +if [[ -n "$CERC_SCRIPT_DEBUG" ]]; then + set -x +fi + echo "GITEA ACTIONS 1 is: $GITEA_ACTIONS" echo "GITEA ACTIONS 2 is: ${GITEA_ACTIONS}" @@ -12,9 +17,6 @@ else echo "WTF" fi -if [[ -n "$CERC_SCRIPT_DEBUG" ]]; then - set -x -fi if ! [[ $# -eq 1 || $# -eq 2 ]]; then echo "Illegal number of parameters" >&2 exit 1