Repository: predictionio Updated Branches: refs/heads/feature/asfjenkins [created] 4ef0c1828
Remove alternative sbt launcher Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/4ef0c182 Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/4ef0c182 Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/4ef0c182 Branch: refs/heads/feature/asfjenkins Commit: 4ef0c18283ef4a743ae13dff07068405a4aaa7f5 Parents: 018ea8e Author: Donald Szeto <[email protected]> Authored: Sun Mar 18 18:03:45 2018 -0700 Committer: Donald Szeto <[email protected]> Committed: Sun Mar 18 18:03:45 2018 -0700 ---------------------------------------------------------------------- make-distribution.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/predictionio/blob/4ef0c182/make-distribution.sh ---------------------------------------------------------------------- diff --git a/make-distribution.sh b/make-distribution.sh index 7a34274..8300ba0 100755 --- a/make-distribution.sh +++ b/make-distribution.sh @@ -67,15 +67,15 @@ echo "Building binary distribution for PredictionIO $VERSION..." cd ${FWDIR} set -x -sbt/sbt "${JAVA_PROPS[@]}" clean -sbt/sbt "${JAVA_PROPS[@]}" printBuildInfo -sbt/sbt "${JAVA_PROPS[@]}" publishLocal assembly storage/publishLocal storage/assembly -sbt/sbt "${JAVA_PROPS[@]}" assembly/clean assembly/universal:packageBin assembly/universal:packageZipTarball +sbt "${JAVA_PROPS[@]}" clean +sbt "${JAVA_PROPS[@]}" printBuildInfo +sbt "${JAVA_PROPS[@]}" publishLocal assembly storage/publishLocal storage/assembly +sbt "${JAVA_PROPS[@]}" assembly/clean assembly/universal:packageBin assembly/universal:packageZipTarball if [ x$RPM_BUILD = "xtrue" ] ; then - sbt/sbt "${JAVA_PROPS[@]}" assembly/rpm:packageBin + sbt "${JAVA_PROPS[@]}" assembly/rpm:packageBin fi if [ x$DEB_BUILD = "xtrue" ] ; then - sbt/sbt "${JAVA_PROPS[@]}" assembly/debian:packageBin + sbt "${JAVA_PROPS[@]}" assembly/debian:packageBin fi set +x @@ -94,7 +94,6 @@ cp ${FWDIR}/bin/* ${DISTDIR}/bin || : cp ${FWDIR}/conf/* ${DISTDIR}/conf cp -r ${FWDIR}/python/* ${DISTDIR}/python cp ${FWDIR}/project/build.properties ${DISTDIR}/project -cp ${FWDIR}/sbt/sbt ${DISTDIR}/sbt cp ${FWDIR}/assembly/src/universal/lib/*assembly*jar ${DISTDIR}/lib cp ${FWDIR}/assembly/src/universal/lib/spark/*jar ${DISTDIR}/lib/spark
