build.sh: add TEST_RUN for not publishing

This commit is contained in:
Jens Petersen 2026-07-19 16:48:52 +08:00
parent 7af2bb0a33
commit 017a89de7d

View File

@ -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