This is an automated email from the ASF dual-hosted git repository.

zeroshade pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-go.git


The following commit(s) were added to refs/heads/main by this push:
     new 4a0b225b fix(release): keys download (#781)
4a0b225b is described below

commit 4a0b225b6951c46497daa6b87978416cbb28481c
Author: Matt Topol <[email protected]>
AuthorDate: Fri Apr 24 12:28:00 2026 -0400

    fix(release): keys download (#781)
    
    ### Rationale for this change
    fixes #780
    
    ### What changes are included in this PR?
    Adds `--output` argument to the `download` function in `verify_rc.sh` to
    fix the verification script.
---
 dev/release/verify_rc.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev/release/verify_rc.sh b/dev/release/verify_rc.sh
index c5c67d1e..efd69be4 100755
--- a/dev/release/verify_rc.sh
+++ b/dev/release/verify_rc.sh
@@ -70,12 +70,13 @@ download() {
     --remote-name \
     --show-error \
     --silent \
+    --output "$2" \
     "$1"
 }
 
 download_rc_file() {
   if [ "${VERIFY_DOWNLOAD}" -gt 0 ]; then
-    download "${DOWNLOAD_RC_BASE_URL}/$1"
+    download "${DOWNLOAD_RC_BASE_URL}/$1" "$1"
   else
     cp "${TOP_SOURCE_DIR}/$1" "$1"
   fi
@@ -83,7 +84,7 @@ download_rc_file() {
 
 import_gpg_keys() {
   if [ "${VERIFY_SIGN}" -gt 0 ]; then
-    download "${ARROW_KEYS_URL}"
+    download "${ARROW_KEYS_URL}" KEYS
     gpg --import KEYS
   fi
 }

Reply via email to