Repository: spark
Updated Branches:
  refs/heads/master 85f9a6135 -> 12de34833


[SPARK-10126] [PROJECT INFRA] Fix typo in release-build.sh which broke snapshot 
publishing for Scala 2.11

The current `release-build.sh` has a typo which breaks snapshot publication for 
Scala 2.11. We should change the Scala version to 2.11 and clean before 
building a 2.11 snapshot.

Author: Josh Rosen <joshro...@databricks.com>

Closes #8325 from JoshRosen/fix-2.11-snapshots.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/12de3483
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/12de3483
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/12de3483

Branch: refs/heads/master
Commit: 12de348332108f8c0c5bdad1d4cfac89b952b0f8
Parents: 85f9a61
Author: Josh Rosen <joshro...@databricks.com>
Authored: Thu Aug 20 11:31:03 2015 -0700
Committer: Josh Rosen <joshro...@databricks.com>
Committed: Thu Aug 20 11:31:03 2015 -0700

----------------------------------------------------------------------
 dev/create-release/release-build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/12de3483/dev/create-release/release-build.sh
----------------------------------------------------------------------
diff --git a/dev/create-release/release-build.sh 
b/dev/create-release/release-build.sh
index 399c73e..d0b3a54 100755
--- a/dev/create-release/release-build.sh
+++ b/dev/create-release/release-build.sh
@@ -225,9 +225,9 @@ if [[ "$1" == "publish-snapshot" ]]; then
 
   $MVN -DzincPort=$ZINC_PORT --settings $tmp_settings -DskipTests 
$PUBLISH_PROFILES \
     -Phive-thriftserver deploy
-  ./dev/change-scala-version.sh 2.10
+  ./dev/change-scala-version.sh 2.11
   $MVN -DzincPort=$ZINC_PORT -Dscala-2.11 --settings $tmp_settings \
-    -DskipTests $PUBLISH_PROFILES deploy
+    -DskipTests $PUBLISH_PROFILES clean deploy
 
   # Clean-up Zinc nailgun process
   /usr/sbin/lsof -P |grep $ZINC_PORT | grep LISTEN | awk '{ print $2; }' | 
xargs kill


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

Reply via email to