From 017a89de7dcaef84b61b5cfa38a0681859c992c4 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 19 Jul 2026 16:48:52 +0800 Subject: [PATCH] build.sh: add TEST_RUN for not publishing --- automated/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/automated/build.sh b/automated/build.sh index d911487a..81495283 100755 --- a/automated/build.sh +++ b/automated/build.sh @@ -158,6 +158,10 @@ docker run -t $ARGS_BUILD $IMAGE nice -n 15 /bin/bash -c " exec sudo -E -u $USER env \"HOME=$HOME\" \"PATH=\$PATH\" curator build --jobs $JOBS " +if [ -n "$TEST_RUN" ]; + exit 1 +fi + # Make sure we actually need this snapshot. We used to perform this check # exclusively before building. Now we perform it after as well for the case of # nightly, where we don't perform this check beforehand. This is also slightly