You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2022/05/03 21:32:03 UTC
[arrow] branch master updated: MINOR: [Release] Don't install go if it can be located
This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 3a701b292b MINOR: [Release] Don't install go if it can be located
3a701b292b is described below
commit 3a701b292bcf79c46ee4138098533ca5837c52ca
Author: Krisztián Szűcs <sz...@gmail.com>
AuthorDate: Wed May 4 06:31:52 2022 +0900
MINOR: [Release] Don't install go if it can be located
Closes #13048 from kszucs/dont-install-go
Lead-authored-by: Krisztián Szűcs <sz...@gmail.com>
Co-authored-by: Sutou Kouhei <ko...@cozmixng.org>
Signed-off-by: Sutou Kouhei <ko...@clear-code.com>
---
dev/release/verify-release-candidate.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh
index e71d785ff2..b1dfac4c65 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -382,6 +382,11 @@ install_go() {
return 0
fi
+ if command -v go > /dev/null; then
+ show_info "Found $(go version) at $(command -v go)"
+ return 0
+ fi
+
local version=1.16.12
show_info "Installing go version ${version}..."