File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 3838git_origin_url=" $( git remote get-url origin) "
3939repository=" ${git_origin_url#* github.com?} "
4040repository=" ${repository% .git} "
41+
4142if [
" ${git_origin_url} " != " [email protected] :apache/iceberg-cpp.git" ]
; then 4243 echo " This script must be ran with a working copy of apache/iceberg-cpp."
4344 echo " The origin's URL: ${git_origin_url} "
Original file line number Diff line number Diff line change @@ -49,11 +49,11 @@ cd "${SOURCE_TOP_DIR}"
4949
5050if [ " ${RELEASE_PULL} " -gt 0 ] || [ " ${RELEASE_PUSH_TAG} " -gt 0 ]; then
5151 git_origin_url=" $( git remote get-url origin) "
52- # if [ "${git_origin_url}" != "[email protected] :apache/iceberg-cpp.git" ]; then 53- # echo "This script must be ran with working copy of apache/iceberg-cpp."
54- # echo "The origin's URL: ${git_origin_url}"
55- # exit 1
56- # fi
52+ if [
" ${git_origin_url} " != " [email protected] :apache/iceberg-cpp.git" ]
; then 53+ echo " This script must be ran with working copy of apache/iceberg-cpp."
54+ echo " The origin's URL: ${git_origin_url} "
55+ exit 1
56+ fi
5757fi
5858
5959if [ " ${RELEASE_PULL} " -gt 0 ]; then
You can’t perform that action at this time.
0 commit comments