mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
remove quote to make sed works properly
This commit is contained in:
parent
2fee082675
commit
bf25d5b84d
1 changed files with 6 additions and 1 deletions
|
|
@ -82,7 +82,12 @@ function publish_to_maven() {
|
|||
"${NEXUS_STAGING}/profiles/${NEXUS_PROFILE}/start")"
|
||||
create_ret=$?
|
||||
curl_error $create_ret
|
||||
staged_repo_id="$(echo "${out}" | sed -e 's/.*\(orgapachezeppelin-[0-9]\{4\}\).*/\1/')"
|
||||
staged_repo_id="$(echo ${out} | sed -e 's/.*\(orgapachezeppelin-[0-9]\{4\}\).*/\1/')"
|
||||
if [[ -z "${staged_repo_id}" ]]; then
|
||||
echo "Fail to create staging repository"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Created Nexus staging repository: ${staged_repo_id}"
|
||||
|
||||
tmp_repo="$(mktemp -d /tmp/zeppelin-repo-XXXXX)"
|
||||
|
|
|
|||
Loading…
Reference in a new issue