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 448122ab chore(dev/release): embed hash of source tarball into email
(#675)
448122ab is described below
commit 448122ab169d3bada5af0bae01975af4f176762f
Author: Matt Topol <[email protected]>
AuthorDate: Fri Feb 27 13:33:52 2026 -0500
chore(dev/release): embed hash of source tarball into email (#675)
Following the discussion on
https://lists.apache.org/thread/o2mpsf5okhzfz2k4mbg5d4s9ror69587 and
https://github.com/apache/arrow-adbc/pull/3965, I figured we should do
the same for arrow-go.
---
dev/release/release_rc.sh | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/dev/release/release_rc.sh b/dev/release/release_rc.sh
index b466050a..da67be2f 100755
--- a/dev/release/release_rc.sh
+++ b/dev/release/release_rc.sh
@@ -70,11 +70,11 @@ rc_hash="$(git rev-list --max-count=1 "${rc_tag}")"
id="apache-arrow-go-${version}"
tar_gz="${id}.tar.gz"
-if [ "${RELEASE_SIGN}" -gt 0 ]; then
- git_origin_url="$(git remote get-url origin)"
- repository="${git_origin_url#*github.com?}"
- repository="${repository%.git}"
+git_origin_url="$(git remote get-url origin)"
+repository="${git_origin_url#*github.com?}"
+repository="${repository%.git}"
+if [ "${RELEASE_SIGN}" -gt 0 ]; then
echo "Looking for GitHub Actions workflow on ${repository}:${rc_tag}"
run_id=""
while [ -z "${run_id}" ]; do
@@ -109,6 +109,15 @@ if [ "${RELEASE_UPLOAD}" -gt 0 ]; then
"${tar_gz}.asc"
fi
+gh release download "${rc_tag}" \
+ --dir . \
+ --pattern "${tar_gz}.sha512" \
+ --repo "${repository}" \
+ --clobber
+
+SOURCE_TARBALL_HASH=$(awk '{print $1}' "${tar_gz}.sha512")
+rm -f "${tar_gz}.sha512"
+
echo "Draft email for [email protected] mailing list"
echo ""
echo "---------------------------------------------------------"
@@ -126,6 +135,10 @@ ${rc_hash} [1]
The source release rc${rc} is hosted at [2].
+This is not a permanent URL. If the RC is accepted, it will be moved to
+the final release location. The SHA512 hash of the source tarball is:
+${SOURCE_TARBALL_HASH}.
+
Please download, verify checksums and signatures, run the unit tests,
and vote on the release. See [3] for how to validate a release candidate.