This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new e4eded884472 [SPARK-51665][BUILD] Truncate the lists in
dev/test-jars.txt and dev/test-classes.txt during release process
e4eded884472 is described below
commit e4eded884472a3c2b850dc9b5fb0c06d0946a7d0
Author: Hyukjin Kwon <[email protected]>
AuthorDate: Mon Mar 31 11:25:11 2025 +0900
[SPARK-51665][BUILD] Truncate the lists in dev/test-jars.txt and
dev/test-classes.txt during release process
### What changes were proposed in this pull request?
This PR is a sort of a followup of
https://github.com/apache/spark/pull/50422 and
https://github.com/apache/spark/pull/50378 that empty the list itself during
the CI.
### Why are the changes needed?
Otherwise, the CI on the specific revert commit would fail (although the
released commit itself would pass though)
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
I will work together with the release manager.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #50458 from HyukjinKwon/SPARK-51665.
Authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
dev/create-release/release-tag.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dev/create-release/release-tag.sh
b/dev/create-release/release-tag.sh
index d53b3224ba6a..9d4ca1fb5150 100755
--- a/dev/create-release/release-tag.sh
+++ b/dev/create-release/release-tag.sh
@@ -73,9 +73,11 @@ cd spark
git config user.name "$GIT_NAME"
git config user.email "$GIT_EMAIL"
-# Remove test jars that do not belong to source releases.
+# Remove test jars and classes that do not belong to source releases.
rm $(<dev/test-jars.txt)
+:> dev/test-jars.txt
rm $(<dev/test-classes.txt)
+:> dev/test-classes.txt
git commit -a -m "Removing test jars and class files"
JAR_RM_REF=$(git rev-parse HEAD)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]