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 <[email protected]>
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 <[email protected]>
    Co-authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 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}..."
 

Reply via email to