This is an automated email from the ASF dual-hosted git repository. zjffdu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push: new 87e0559 [hotfix] Fix publish script 87e0559 is described below commit 87e0559cd6e5c9d4a56d130c9417de41dd431e1c Author: Jeff Zhang <zjf...@apache.org> AuthorDate: Wed Mar 18 16:12:40 2020 +0800 [hotfix] Fix publish script --- dev/publish_release.sh | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/dev/publish_release.sh b/dev/publish_release.sh index e723ce0..16591c9 100755 --- a/dev/publish_release.sh +++ b/dev/publish_release.sh @@ -46,7 +46,7 @@ if [[ $RELEASE_VERSION == *"SNAPSHOT"* ]]; then DO_SNAPSHOT="yes" fi -PUBLISH_PROFILES="-Ppublish-distr -Phadoop-2.6 -" +PUBLISH_PROFILES="-Ppublish-distr -Phadoop-2.6 -Pweb-angular" PROJECT_OPTIONS="-pl !zeppelin-distribution" NEXUS_STAGING="https://repository.apache.org/service/local/staging" NEXUS_PROFILE="153446d1ac37c4" @@ -127,27 +127,13 @@ function publish_to_maven() { rm -rf $HOME/.m2/repository/org/apache/zeppelin - # build with scala-2.10 - echo "mvn clean install -DskipTests \ - -Pscala-2.10 -Pbeam \ - ${PUBLISH_PROFILES} ${PROJECT_OPTIONS}" - mvn clean install -DskipTests -Pscala-2.10 -Pbeam \ - ${PUBLISH_PROFILES} ${PROJECT_OPTIONS} - if [[ $? -ne 0 ]]; then - echo "Build with scala 2.10 failed." - exit 1 - fi - # build with scala-2.11 - "${BASEDIR}/change_scala_version.sh" 2.11 - echo "mvn clean install -DskipTests \ - -Pscala-2.11 \ ${PUBLISH_PROFILES} ${PROJECT_OPTIONS}" - mvn clean install -DskipTests -Pscala-2.11 \ + mvn clean install -DskipTests \ ${PUBLISH_PROFILES} ${PROJECT_OPTIONS} if [[ $? -ne 0 ]]; then - echo "Build with scala 2.11 failed." + echo "Build failed." exit 1 fi