From 1fb6b80f939811a2231b7fafcfb394af98e9af02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ma=CC=88der?= Date: Tue, 10 Apr 2018 11:13:52 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Print=20every=20command?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build-all.sh | 1 + build-branches.sh | 1 + build-latest.sh | 1 + build.sh | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build-all.sh b/build-all.sh index 9961f92..5c3490f 100755 --- a/build-all.sh +++ b/build-all.sh @@ -6,6 +6,7 @@ # Default: undefined echo "▶️ $0 $*" +set -x ALL_BUILDS=("release" "prerelease" "branches" "special") BUILDS=("${BUILD:-"${ALL_BUILDS[@]}"}") diff --git a/build-branches.sh b/build-branches.sh index 36c55d7..8054d5a 100755 --- a/build-branches.sh +++ b/build-branches.sh @@ -2,6 +2,7 @@ # Builds develop, develop-* and master branches echo "▶️ $0 $*" +set -x ORIGINAL_GITHUB_REPO="digitalocean/netbox" GITHUB_REPO="${GITHUB_REPO-$ORIGINAL_GITHUB_REPO}" diff --git a/build-latest.sh b/build-latest.sh index e996251..fce32d4 100755 --- a/build-latest.sh +++ b/build-latest.sh @@ -2,6 +2,7 @@ # Builds the latest released version echo "▶️ $0 $*" +set -x ORIGINAL_GITHUB_REPO="digitalocean/netbox" GITHUB_REPO="${GITHUB_REPO-$ORIGINAL_GITHUB_REPO}" diff --git a/build.sh b/build.sh index ecd680d..9e6da03 100755 --- a/build.sh +++ b/build.sh @@ -2,7 +2,7 @@ # Builds the Dockerfile[.variant] and injects tgz'ed Netbox code from Github echo "▶️ $0 $*" - +set -x set -e if [ "${1}x" == "x" ] || [ "${1}" == "--help" ] || [ "${1}" == "-h" ]; then