You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"Remove working directory and maven local repository"
54
+
rm -rf ${WORKING_DIR}
55
+
rm -rf ${tmp_repo}
56
+
}
57
+
58
+
functioncurl_error() {
59
+
ret=${1}
60
+
if [[ $ret-ne 0 ]];then
61
+
echo"curl response code is: ($ret)"
62
+
echo"See https://curl.haxx.se/libcurl/c/libcurl-errors.html to know the detailed cause of error."
63
+
echo -e "${RED}Failed to publish maven artifact to staging repository."
64
+
echo -e "IMPORTANT: You will have to re-run publish_release.sh to complete maven artifact publish.${NC}"
65
+
cleanup
66
+
exit 1
67
+
fi
68
+
}
69
+
50
70
functionpublish_to_maven() {
51
71
cd"${WORKING_DIR}/zeppelin"
52
72
@@ -60,6 +80,8 @@ function publish_to_maven() {
60
80
out="$(curl -X POST -d "${repo_request}" -u "${ASF_USERID}:${ASF_PASSWORD}" \
echo"Complete publishing maven artifacts to apache staging repository"
133
+
echo"Once release candidate pass the vote, do not forget to hit the release button in https://repository.apache.org"
0 commit comments