Skip to content

Commit

Permalink
More work
Browse files Browse the repository at this point in the history
  • Loading branch information
pwendell committed Nov 17, 2014
1 parent fcd54c2 commit 3f4d985
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions dev/create-release/create-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,20 @@ if [[ ! "$@" =~ --package-only ]]; then
git tag $GIT_TAG

rm -rf $SPARK_REPO
mvn -DskipTests \
-Dhadoop.version=2.2.0 -Dyarn.version=2.2.0 \
-Dtag=$GIT_TAG -DautoVersionSubmodules=true \

# TODO REMOVE THIS!!!
find . -name *.scala | xargs rm
find . -name *.java | xargs rm

mvn -DskipTests -Dhadoop.version=2.2.0 -Dyarn.version=2.2.0 \
-Pyarn -Phive -Phadoop-2.2 -Pspark-ganglia-lgpl -Pkinesis-asl \
install
clean install

./dev/change-version-to-2.11.sh

mvn -DskipTests -Dhadoop.version=2.2.0 -Dyarn.version=2.2.0 \
-Pscala-2.11 -Pyarn -Phive -Phadoop-2.2 -Pspark-ganglia-lgpl -Pkinesis-asl \
clean install

pushd $SPARK_REPO

Expand Down Expand Up @@ -101,8 +110,9 @@ if [[ ! "$@" =~ --package-only ]]; then
-e "s/$RELEASE_VERSION/${NEXT_VERSION}-SNAPSHOT/" {}
git commit -a -m "Preparing development version ${NEXT_VERSION}-SNAPSHOT"

git push origin $GIT_TAG
git push origin HEAD:$BRANCH_NAME
# TODO: ADD THIS BACK!!!
# git push origin $GIT_TAG
# git push origin HEAD:$BRANCH_NAME
popd
rm -rf spark
fi
Expand Down

0 comments on commit 3f4d985

Please sign in to comment.