Skip to content

Commit 602aa5e

Browse files
authored
Merge pull request ClickHouse#78125 from Algunenano/dirty_files
Better detection of dirty files in the source directory after build
2 parents d0f6dd1 + 5c34b91 commit 602aa5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/packager/binary-builder/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ cmake --debug-trycompile -DCMAKE_VERBOSE_MAKEFILE=1 -LA "-DCMAKE_BUILD_TYPE=$BUI
8989
ninja $NINJA_FLAGS $BUILD_TARGET
9090

9191
# We don't allow dirty files in the source directory after build
92-
git ls-files --others --exclude-standard | grep . && echo "^ Dirty files in the working copy after build" && exit 1
93-
git submodule foreach --quiet git ls-files --others --exclude-standard | grep . && echo "^ Dirty files in submodules after build" && exit 1
92+
git ls-files --others --exclude build_docker\* | grep . && echo "^ Dirty files in the working copy after build" && exit 1
93+
git submodule foreach --quiet git ls-files --others | grep . && echo "^ Dirty files in submodules after build" && exit 1
9494

9595
ls -la ./programs
9696

0 commit comments

Comments
 (0)