Skip to content
Snippets Groups Projects
Commit 12de3483 authored by Josh Rosen's avatar Josh Rosen
Browse files

[SPARK-10126] [PROJECT INFRA] Fix typo in release-build.sh which broke...

[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.
parent 85f9a613
No related branches found
No related tags found
No related merge requests found
...@@ -225,9 +225,9 @@ if [[ "$1" == "publish-snapshot" ]]; then ...@@ -225,9 +225,9 @@ if [[ "$1" == "publish-snapshot" ]]; then
$MVN -DzincPort=$ZINC_PORT --settings $tmp_settings -DskipTests $PUBLISH_PROFILES \ $MVN -DzincPort=$ZINC_PORT --settings $tmp_settings -DskipTests $PUBLISH_PROFILES \
-Phive-thriftserver deploy -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 \ $MVN -DzincPort=$ZINC_PORT -Dscala-2.11 --settings $tmp_settings \
-DskipTests $PUBLISH_PROFILES deploy -DskipTests $PUBLISH_PROFILES clean deploy
# Clean-up Zinc nailgun process # Clean-up Zinc nailgun process
/usr/sbin/lsof -P |grep $ZINC_PORT | grep LISTEN | awk '{ print $2; }' | xargs kill /usr/sbin/lsof -P |grep $ZINC_PORT | grep LISTEN | awk '{ print $2; }' | xargs kill
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment