aboutsummaryrefslogtreecommitdiff
path: root/dev/create-release
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@databricks.com>2015-08-20 11:31:03 -0700
committerJosh Rosen <joshrosen@databricks.com>2015-08-20 11:31:03 -0700
commit12de348332108f8c0c5bdad1d4cfac89b952b0f8 (patch)
tree931d31f6a62b4ff196f91fd3c1ffecd92057f81b /dev/create-release
parent85f9a61357994da5023b08b0a8a2eb09388ce7f8 (diff)
downloadspark-12de348332108f8c0c5bdad1d4cfac89b952b0f8.tar.gz
spark-12de348332108f8c0c5bdad1d4cfac89b952b0f8.tar.bz2
spark-12de348332108f8c0c5bdad1d4cfac89b952b0f8.zip
[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 <joshrosen@databricks.com> Closes #8325 from JoshRosen/fix-2.11-snapshots.
Diffstat (limited to 'dev/create-release')
-rwxr-xr-xdev/create-release/release-build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/create-release/release-build.sh b/dev/create-release/release-build.sh
index 399c73e7bf..d0b3a54dde 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