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

[incubator-celeborn] 01/02: [CELEBORN-193][FOLLOWUP] exclude images and remove unnecessary attributes file.

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

ethanfeng pushed a commit to branch CELEBORN-193-FOLLOWUP
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git

commit f491c3f846700ab79ff2ac73c0e29956622241e9
Author: Ethan Feng <et...@apache.org>
AuthorDate: Thu Jan 5 10:04:06 2023 +0800

    [CELEBORN-193][FOLLOWUP] exclude images and remove unnecessary attributes file.
---
 .gitattributes             | 1 +
 build/make-distribution.sh | 2 +-
 2 files changed, 2 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..26282180 100755
--- a/build/make-distribution.sh
+++ b/build/make-distribution.sh
@@ -220,5 +220,5 @@ 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 czf --no-xattrs --exclude='.DS_Store' "apache-celeborn-$VERSION-$NAME.tgz" -C "$PROJECT_DIR" "$TARDIR_NAME"
 rm -rf "$TARDIR"