You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celeborn.apache.org by zh...@apache.org on 2023/01/05 07:06:20 UTC

[incubator-celeborn] branch branch-0.2 updated: [CELEBORN-193][FOLLOWUP] Reduce unnecessary binary files. (#1142)

This is an automated email from the ASF dual-hosted git repository.

zhouky pushed a commit to branch branch-0.2
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git


The following commit(s) were added to refs/heads/branch-0.2 by this push:
     new 3687f1a4 [CELEBORN-193][FOLLOWUP] Reduce unnecessary binary files. (#1142)
3687f1a4 is described below

commit 3687f1a4e0254fd7864e7a9828ceedfb55e3f284
Author: Ethan Feng <et...@apache.org>
AuthorDate: Thu Jan 5 15:04:44 2023 +0800

    [CELEBORN-193][FOLLOWUP] Reduce unnecessary binary files. (#1142)
---
 .gitattributes             | 1 +
 build/make-distribution.sh | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.gitattributes b/.gitattributes
index e1623b7a..b7898d9e 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -23,6 +23,7 @@ LICENSE-binary export-ignore
 NOTICE-binary export-ignore
 assets/slides/* export-ignore
 assets/diagram/* export-ignore
+assets/img/* export-ignore
 *.bat text eol=crlf
 *.cmd text eol=crlf
 *.java text eol=lf
diff --git a/build/make-distribution.sh b/build/make-distribution.sh
index c96ff3d0..9cb392c7 100755
--- a/build/make-distribution.sh
+++ b/build/make-distribution.sh
@@ -220,5 +220,9 @@ TARDIR_NAME="apache-celeborn-$VERSION-$NAME"
 TARDIR="$PROJECT_DIR/$TARDIR_NAME"
 rm -rf "$TARDIR"
 cp -R "$DIST_DIR" "$TARDIR"
-tar czf "apache-celeborn-$VERSION-$NAME.tgz" -C "$PROJECT_DIR" "$TARDIR_NAME"
+TAR="tar"
+if [ "$(uname -s)" = "Darwin" ]; then
+  TAR="tar --no-mac-metadata --no-xattrs"
+fi
+$TAR -czf "apache-celeborn-$VERSION-$NAME.tgz" -C "$PROJECT_DIR" "$TARDIR_NAME"
 rm -rf "$TARDIR"