We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f996be6 commit 6402ef4Copy full SHA for 6402ef4
dev/release/release.sh
@@ -31,11 +31,16 @@ rc=$2
31
git_origin_url="$(git remote get-url origin)"
32
repository="${git_origin_url#*github.com?}"
33
repository="${repository%.git}"
34
-if [ "${git_origin_url}" != "[email protected]:apache/arrow-java.git" ]; then
+case "${git_origin_url}" in
35
+[email protected]:apache/arrow-java.git | https://github.com/apache/arrow-java.git)
36
+ : # OK
37
+ ;;
38
+*)
39
echo "This script must be ran with working copy of apache/arrow-java."
40
echo "The origin's URL: ${git_origin_url}"
41
exit 1
-fi
42
43
+esac
44
45
tag="v${version}"
46
rc_tag="${tag}-rc${rc}"
0 commit comments