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

gurwls223 pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.5 by this push:
     new a6d056259595 [SPARK-52225][BUILD][4.0][3.5] Avoid using interactive 
TTY mode in release scripts for branch-3.5 and 4.0
a6d056259595 is described below

commit a6d056259595d8199040254ff797c4e11cbc143f
Author: Hyukjin Kwon <[email protected]>
AuthorDate: Tue May 20 12:53:26 2025 +0900

    [SPARK-52225][BUILD][4.0][3.5] Avoid using interactive TTY mode in release 
scripts for branch-3.5 and 4.0
    
    This PR is a partial backport of https://github.com/apache/spark/pull/50884 
so that GitHub Actions can run the automatic releases
    
    So we can make Apache Spark releases via GitHub Actions.
    
    No, dev-only.
    
    Manually.
    
    No.
    
    Closes #50945 from HyukjinKwon/SPARK-52225.
    
    Authored-by: Hyukjin Kwon <[email protected]>
    Signed-off-by: Hyukjin Kwon <[email protected]>
    (cherry picked from commit 0cf38e83dac3afc3201963270599633c16291d11)
    Signed-off-by: Hyukjin Kwon <[email protected]>
---
 dev/create-release/do-release-docker.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/create-release/do-release-docker.sh 
b/dev/create-release/do-release-docker.sh
index 1448fefa5663..58543faa36ac 100755
--- a/dev/create-release/do-release-docker.sh
+++ b/dev/create-release/do-release-docker.sh
@@ -160,7 +160,7 @@ if [ -n "$JAVA" ]; then
 fi
 
 echo "Building $RELEASE_TAG; output will be at $WORKDIR/output"
-docker run -ti \
+docker $([ -z "$GITHUB_ACTIONS" ] && echo "-it") run \
   --env-file "$ENVFILE" \
   --volume "$WORKDIR:/opt/spark-rm" \
   $JAVA_VOL \


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to