You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by mi...@apache.org on 2016/07/05 23:07:21 UTC
zeppelin git commit: [HOTFIX] Remove duplicate closing brace in
publish_release script
Repository: zeppelin
Updated Branches:
refs/heads/master e0f77d68e -> 967d71d4a
[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 <mi...@apache.org>
Closes #1127 from minahlee/hotfix/removeDuplBrace and squashes the following commits:
608d648 [Mina Lee] Remove duplicate closing brace
Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/967d71d4
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/967d71d4
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/967d71d4
Branch: refs/heads/master
Commit: 967d71d4ae6c1ab82213b3121031fd9fd71edfb4
Parents: e0f77d6
Author: Mina Lee <mi...@apache.org>
Authored: Tue Jul 5 10:39:49 2016 +0900
Committer: Mina Lee <mi...@apache.org>
Committed: Wed Jul 6 08:07:14 2016 +0900
----------------------------------------------------------------------
dev/publish_release.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/zeppelin/blob/967d71d4/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}"