[FLINK-35124] Include Maven build configuration in the pristine source clone
diff --git a/_utils.sh b/_utils.sh
index a865ca8..8cbe559 100644
--- a/_utils.sh
+++ b/_utils.sh
@@ -50,7 +50,7 @@
     --exclude ".DS_Store" \
     --exclude ".asf.yaml" \
     --exclude "target"  \
-    --exclude "tools" \
+    --exclude "tools/releasing/shared" \
     "${clone_dir}/" "${clean_dir}"
 
   rm -rf "${clone_dir}"