From 9e47edbcc09fabdf2e0b03b07555b123e5f49304 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Fri, 10 Dec 2021 14:00:49 +0100 Subject: [PATCH] CI: Update log message in scripts/build.sh --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index ac710abc6..9162301f2 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -45,7 +45,7 @@ elif [[ $1 == "static" ]]; then else echo "Building production binary..." for i in {1..3}; do - echo "Attempt $i" && go build -ldflags "-s -w -X main.version=${PHOTOPRISM_DATE}-${PHOTOPRISM_VERSION}-${PHOTOPRISM_OS}-${PHOTOPRISM_ARCH}" -o $2 cmd/photoprism/photoprism.go && break || sleep 5; + echo "Build #$i:" && go build -ldflags "-s -w -X main.version=${PHOTOPRISM_DATE}-${PHOTOPRISM_VERSION}-${PHOTOPRISM_OS}-${PHOTOPRISM_ARCH}" -o $2 cmd/photoprism/photoprism.go && break || sleep 5; done du -h $2 echo "Done."