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

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


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new 8e53fb470e4e [SPARK-53689][BUILD][FOLLOW-UP] Check if RELEASE_VERSION 
is already set properly
8e53fb470e4e is described below

commit 8e53fb470e4ed2baee4dc4307726a183cf85e572
Author: Hyukjin Kwon <[email protected]>
AuthorDate: Wed Sep 24 17:22:56 2025 +0900

    [SPARK-53689][BUILD][FOLLOW-UP] Check if RELEASE_VERSION is already set 
properly
    
    ### What changes were proposed in this pull request?
    
    This PR checks if RELEASE_VERSION is already set properly.
    
    This PR is a followup of https://github.com/apache/spark/pull/52430
    
    ### Why are the changes needed?
    
    Otherwise, pre-defined `RELEASE_VERSION` does not work.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, dev-only.
    
    ### How was this patch tested?
    
    Manually.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #52434 from HyukjinKwon/SPARK-53689-followup2.
    
    Authored-by: Hyukjin Kwon <[email protected]>
    Signed-off-by: Hyukjin Kwon <[email protected]>
    (cherry picked from commit b005f56928429938812a6efcd0a05b5c2986bfce)
    Signed-off-by: Hyukjin Kwon <[email protected]>
---
 dev/create-release/release-util.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/create-release/release-util.sh 
b/dev/create-release/release-util.sh
index 41b2d054e15e..219983438d1c 100755
--- a/dev/create-release/release-util.sh
+++ b/dev/create-release/release-util.sh
@@ -106,7 +106,7 @@ function get_release_info {
   fi
 
   NEXT_VERSION="$VERSION"
-  if [ -z "$RELEASE_VERSION" ]; then
+  if [ -n "$RELEASE_VERSION" ]; then
     SPARK_RELEASE_VERSION="$RELEASE_VERSION"
   fi
   RELEASE_VERSION="${VERSION/-SNAPSHOT/}"


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

Reply via email to