This is an automated email from the ASF dual-hosted git repository.
philo-he pushed a commit to branch branch-1.7
in repository https://gitbox.apache.org/repos/asf/gluten.git
The following commit(s) were added to refs/heads/branch-1.7 by this push:
new 20c8354836 [1.7] Exclude Git-specific files from source release
archive (#12787)
20c8354836 is described below
commit 20c8354836031778aee04e71f93949f6872146ff
Author: Philo He <[email protected]>
AuthorDate: Mon Aug 17 08:14:03 2026 +0800
[1.7] Exclude Git-specific files from source release archive (#12787)
---
dev/release/package-release.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dev/release/package-release.sh b/dev/release/package-release.sh
index e8b3da6c02..daf91e22a9 100755
--- a/dev/release/package-release.sh
+++ b/dev/release/package-release.sh
@@ -90,6 +90,7 @@ unzip -q ${SRC_ZIP}
# Rename folder to remove "rc*" for formal release.
mv gluten-${TAG_VERSION} ${SRC_DIR}
+
# Remove .git and .github and other unwanted files from the source dir.
rm -rf ${SRC_DIR}/.git \
${SRC_DIR}/.github \
@@ -97,6 +98,10 @@ rm -rf ${SRC_DIR}/.git \
${SRC_DIR}/.gitignore \
${SRC_DIR}/.gitmodules \
${SRC_DIR}/.idea
+rm -f "${SRC_DIR}/dev/vcpkg/.gitignore" \
+ "${SRC_DIR}/gluten-uniffle/.gitkeep" \
+ "${SRC_DIR}/tools/qualification-tool/.gitignore"
+
tar -czf apache-gluten-${RELEASE_VERSION}-src.tar.gz ${SRC_DIR}
rm -r ${SRC_ZIP} ${SRC_DIR}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]