Repository: zeppelin Updated Branches: refs/heads/branch-0.6 d962297c2 -> 34091862b
[HOTFIX] Remove duplicate closing brace in publish_release script ### What is this PR for? Maven artifact publish script fails to close staging repository programmatically because of the duplicate closing braces. ### What type of PR is it? Bug Fix ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: Mina Lee <[email protected]> Closes #1127 from minahlee/hotfix/removeDuplBrace and squashes the following commits: 608d648 [Mina Lee] Remove duplicate closing brace (cherry picked from commit 967d71d4ae6c1ab82213b3121031fd9fd71edfb4) Signed-off-by: Mina Lee <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/34091862 Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/34091862 Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/34091862 Branch: refs/heads/branch-0.6 Commit: 34091862bda8ec0671c05e404db4129185c20a4c Parents: d962297 Author: Mina Lee <[email protected]> Authored: Tue Jul 5 10:39:49 2016 +0900 Committer: Mina Lee <[email protected]> Committed: Wed Jul 6 08:07:27 2016 +0900 ---------------------------------------------------------------------- dev/publish_release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zeppelin/blob/34091862/dev/publish_release.sh ---------------------------------------------------------------------- diff --git a/dev/publish_release.sh b/dev/publish_release.sh index 8092022..63dc00b 100755 --- a/dev/publish_release.sh +++ b/dev/publish_release.sh @@ -129,7 +129,7 @@ function publish_to_maven() { repo_request="<promoteRequest><data><stagedRepositoryId>${staged_repo_id}</stagedRepositoryId><description>Apache Zeppelin ${RELEASE_VERSION}</description></data></promoteRequest>" out="$(curl -X POST -d "${repo_request}" -u "${ASF_USERID}:${ASF_PASSWORD}" \ -H 'Content-Type:application/xml' -v \ - "${NEXUS_STAGING}}/profiles/${NEXUS_PROFILE}/finish")" + "${NEXUS_STAGING}/profiles/${NEXUS_PROFILE}/finish")" close_ret=$? curl_error $close_ret echo "Closed Nexus staging repository: ${staged_repo_id}"
