From a7ec039337e6ddcb93a8145897e79431ec93ffc9 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Wed, 28 Dec 2022 17:26:42 +0100 Subject: [PATCH] CI: Update build script inline comments Signed-off-by: Michael Mayer --- scripts/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index 82bc39ba5..c3f8b27bc 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -29,12 +29,12 @@ else BUILD_CMD=("$GO_BIN" build -ldflags "-extldflags \"-Wl,-rpath -Wl,\$ORIGIN/../lib\" -s -w -X main.version=${BUILD_ID}" -o "${BUILD_BIN}" cmd/photoprism/photoprism.go) fi -# build binary +# Build app binary. echo "=> compiling \"$BUILD_BIN\" with \"${GO_VER}\"" echo "=> ${BUILD_CMD[*]}" "${BUILD_CMD[@]}" -# show size +# Display binary size. du -h "${BUILD_BIN}" echo "Done."