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

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


The following commit(s) were added to refs/heads/main by this push:
     new 37e9ba6b GH-592: [Release] Use relative path in .sha* (#879)
37e9ba6b is described below

commit 37e9ba6b52d89c14cec5ed706f96d7986551eb8c
Author: Sutou Kouhei <[email protected]>
AuthorDate: Wed Oct 8 12:51:17 2025 +0900

    GH-592: [Release] Use relative path in .sha* (#879)
    
    ## What's Changed
    
    If we use absolute path, users need to create the same directory
    structure. It's inconvenient. We should use relative path.
    
    Closes #592.
---
 ci/scripts/jni_full_build.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ci/scripts/jni_full_build.sh b/ci/scripts/jni_full_build.sh
index e9ad0ddb..5d0aee05 100755
--- a/ci/scripts/jni_full_build.sh
+++ b/ci/scripts/jni_full_build.sh
@@ -97,8 +97,10 @@ find ~/.m2/repository/org/apache/arrow \
   -exec echo "{}" ";" \
   -exec cp "{}" "${dist_dir}" ";"
 
-for artifact in "${dist_dir}"/*; do
+pushd "${dist_dir}"
+for artifact in *; do
   sha256sum "${artifact}" >"${artifact}.sha256"
   sha512sum "${artifact}" >"${artifact}.sha512"
 done
+popd
 github_actions_group_end

Reply via email to