Skip to content

Commit fae1886

Browse files
committed
fix
1 parent a814386 commit fae1886

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

dev/release/release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ rc=$2
3838
git_origin_url="$(git remote get-url origin)"
3939
repository="${git_origin_url#*github.com?}"
4040
repository="${repository%.git}"
41+
4142
if [ "${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}"

dev/release/release_rc.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ cd "${SOURCE_TOP_DIR}"
4949

5050
if [ "${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
5757
fi
5858

5959
if [ "${RELEASE_PULL}" -gt 0 ]; then

0 commit comments

Comments
 (0)