Skip to content

Commit 37e9ba6

Browse files
authored
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.
1 parent 1e53382 commit 37e9ba6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/scripts/jni_full_build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,10 @@ find ~/.m2/repository/org/apache/arrow \
9797
-exec echo "{}" ";" \
9898
-exec cp "{}" "${dist_dir}" ";"
9999

100-
for artifact in "${dist_dir}"/*; do
100+
pushd "${dist_dir}"
101+
for artifact in *; do
101102
sha256sum "${artifact}" >"${artifact}.sha256"
102103
sha512sum "${artifact}" >"${artifact}.sha512"
103104
done
105+
popd
104106
github_actions_group_end

0 commit comments

Comments
 (0)