Skip to content

Commit 3f4d985

Browse files
committed
More work
1 parent fcd54c2 commit 3f4d985

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

dev/create-release/create-release.sh

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,20 @@ if [[ ! "$@" =~ --package-only ]]; then
6767
git tag $GIT_TAG
6868

6969
rm -rf $SPARK_REPO
70-
mvn -DskipTests \
71-
-Dhadoop.version=2.2.0 -Dyarn.version=2.2.0 \
72-
-Dtag=$GIT_TAG -DautoVersionSubmodules=true \
70+
71+
# TODO REMOVE THIS!!!
72+
find . -name *.scala | xargs rm
73+
find . -name *.java | xargs rm
74+
75+
mvn -DskipTests -Dhadoop.version=2.2.0 -Dyarn.version=2.2.0 \
7376
-Pyarn -Phive -Phadoop-2.2 -Pspark-ganglia-lgpl -Pkinesis-asl \
74-
install
77+
clean install
78+
79+
./dev/change-version-to-2.11.sh
80+
81+
mvn -DskipTests -Dhadoop.version=2.2.0 -Dyarn.version=2.2.0 \
82+
-Pscala-2.11 -Pyarn -Phive -Phadoop-2.2 -Pspark-ganglia-lgpl -Pkinesis-asl \
83+
clean install
7584

7685
pushd $SPARK_REPO
7786

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

104-
git push origin $GIT_TAG
105-
git push origin HEAD:$BRANCH_NAME
113+
# TODO: ADD THIS BACK!!!
114+
# git push origin $GIT_TAG
115+
# git push origin HEAD:$BRANCH_NAME
106116
popd
107117
rm -rf spark
108118
fi

0 commit comments

Comments
 (0)