Repository: zeppelin Updated Branches: refs/heads/branch-0.8 d41c6343b -> df06f4542
[HOTFIX] Script update for release Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/df06f454 Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/df06f454 Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/df06f454 Branch: refs/heads/branch-0.8 Commit: df06f4542d5aef31b9a2c3af1d3bf5a4bc213adc Parents: d41c634 Author: Jeff Zhang <zjf...@apache.org> Authored: Wed May 9 16:42:48 2018 +0800 Committer: Jeff Zhang <zjf...@apache.org> Committed: Wed May 9 16:42:48 2018 +0800 ---------------------------------------------------------------------- dev/common_release.sh | 1 - dev/publish_release.sh | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zeppelin/blob/df06f454/dev/common_release.sh ---------------------------------------------------------------------- diff --git a/dev/common_release.sh b/dev/common_release.sh index 6b7e901..70afd1d 100644 --- a/dev/common_release.sh +++ b/dev/common_release.sh @@ -58,7 +58,6 @@ function git_clone() { # remove unnecessary files rm "${WORKING_DIR}/zeppelin/.gitignore" - rm -rf "${WORKING_DIR}/zeppelin/.git" rm -rf "${WORKING_DIR}/zeppelin/.github" rm -rf "${WORKING_DIR}/zeppelin/docs" } http://git-wip-us.apache.org/repos/asf/zeppelin/blob/df06f454/dev/publish_release.sh ---------------------------------------------------------------------- diff --git a/dev/publish_release.sh b/dev/publish_release.sh index ec3c1aa..8fcd6d3 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 -Pspark-2.2 -Pr" +PUBLISH_PROFILES="-Pspark-2.2 -Pr" PROJECT_OPTIONS="-pl !zeppelin-distribution" NEXUS_STAGING="https://repository.apache.org/service/local/staging" NEXUS_PROFILE="153446d1ac37c4" @@ -126,7 +126,8 @@ function publish_to_maven() { echo "Created Nexus staging repository: ${staged_repo_id}" - tmp_repo="$(mktemp -d /tmp/zeppelin-repo-XXXXX)" + mkdir /tmp/zeppelin-repo-${RELEASE_VERSION} + tmp_repo=/tmp/zeppelin-repo-${RELEASE_VERSION} # build with scala-2.10 echo "mvn clean install -DskipTests \