You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2021/01/24 23:01:34 UTC

[spark] branch branch-3.0 updated: [SPARK-34217][INFRA] Fix Scala 2.12 release profile

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

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


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new a3a1646  [SPARK-34217][INFRA] Fix Scala 2.12 release profile
a3a1646 is described below

commit a3a16467e16b12ca0ef6755067e5c06966b43035
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Sun Jan 24 14:59:55 2021 -0800

    [SPARK-34217][INFRA] Fix Scala 2.12 release profile
    
    ### What changes were proposed in this pull request?
    
    This PR aims to fix the Scala 2.12 release profile in `release-build.sh`.
    
    ### Why are the changes needed?
    
    Since 3.0.0 (SPARK-26132), the release script is using `SCALA_2_11_PROFILES` to publish Scala 2.12 artifacts.
    
    After looking at the code, this is not a blocker because `-Pscala-2.11` is no-op in `branch-3.x`.
    In addition `scala-2.12` profile is enabled by default and it's an empty profile without any configuration technically.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    This is used by release manager only.
    Manually. This should land at `master/3.1/3.0`.
    
    Closes #31310 from dongjoon-hyun/SPARK-34217.
    
    Authored-by: Dongjoon Hyun <dh...@apple.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
    (cherry picked from commit b8fc6f88b5cae23cc6783707c127f39b91fc0cfe)
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
    (cherry picked from commit 2bca383dd321fb4767525ec5e2bde38d6a952134)
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 dev/create-release/release-build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/create-release/release-build.sh b/dev/create-release/release-build.sh
index eb97258..ac8b1a8 100755
--- a/dev/create-release/release-build.sh
+++ b/dev/create-release/release-build.sh
@@ -425,7 +425,7 @@ if [[ "$1" == "publish-release" ]]; then
   if [[ $PUBLISH_SCALA_2_12 = 1 ]]; then
     ./dev/change-scala-version.sh 2.12
     $MVN -DzincPort=$((ZINC_PORT + 2)) -Dmaven.repo.local=$tmp_repo -DskipTests \
-      $SCALA_2_11_PROFILES $PUBLISH_PROFILES clean install
+      $SCALA_2_12_PROFILES $PUBLISH_PROFILES clean install
   fi
 
   pushd $tmp_repo/org/apache/spark


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org