Skip to content

Commit 85d0eb9

Browse files
authored
chore(dev/release): embed hash of source tarball into email (#3965)
Closes #3964.
1 parent a6757b7 commit 85d0eb9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

dev/release/06-binary-verify.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ main() {
5858

5959
set_resolved_issues "${RELEASE}"
6060

61+
# Embed source tarball hash into the email. Assume directory structure
62+
# from 02-sign.sh.
63+
local -r download_dir="packages/${tag}"
64+
local -r SOURCE_TARBALL_HASH=$(cat $(find "${download_dir}" -type f -name "apache-arrow-adbc-${RELEASE}*.tar.gz.sha512") | awk '{print $1}')
65+
6166
echo "The following draft email has been created to send to the"
6267
echo "dev@arrow.apache.org mailing list"
6368
echo ""
@@ -84,6 +89,10 @@ The subcomponents are versioned independently:
8489
This release candidate is based on commit: ${commit} [2]
8590
8691
The source release rc${rc_number} is hosted at [3].
92+
This is not a permanent URL. If the RC is accepted, it will be moved to the final release location.
93+
The SHA512 hash of the source tarball is:
94+
${SOURCE_TARBALL_HASH}
95+
8796
The binary artifacts are hosted at [4][5][6][7][8].
8897
The changelog is located at [9].
8998

0 commit comments

Comments
 (0)