This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-graalvm-distro.git
The following commit(s) were added to refs/heads/main by this push:
new b39bf55 Add vote email generation to release.sh with GPG signer info
b39bf55 is described below
commit b39bf554dde910f3b99d739a1dc73796c917e7dd
Author: Wu Sheng <[email protected]>
AuthorDate: Sun Mar 15 08:17:54 2026 +0800
Add vote email generation to release.sh with GPG signer info
---
release/release.sh | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 69 insertions(+), 2 deletions(-)
diff --git a/release/release.sh b/release/release.sh
index 2c6272d..ce34e9a 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -255,6 +255,65 @@ log "Uploaded to ${SVN_DEV_DIR}"
# Clean up SVN checkout
rm -rf "${SVN_CHECKOUT_DIR}"
+# ─── Step 9: Generate vote email ─────────────────────────────────────────────
+log "Generating vote email..."
+
+COMMIT_ID=$(git rev-parse "${TAG}")
+
+# Collect submodule commit IDs
+SKYWALKING_COMMIT=$(git -C "${REPO_ROOT}" ls-tree "${TAG}" skywalking | awk
'{print $3}')
+
+# Build sha512 checksums block
+SHA512_BLOCK=""
+for sha_file in "${DIST_DIR}"/*.sha512; do
+ SHA512_BLOCK="${SHA512_BLOCK} - $(cat "${sha_file}")
+"
+done
+
+VOTE_DATE=$(date -u +"%B %d, %Y")
+
+MAIL_FILE="${DIST_DIR}/vote-email.txt"
+cat > "${MAIL_FILE}" <<MAILEOF
+Mail title: [VOTE] Release Apache SkyWalking GraalVM Distro version ${VERSION}
+
+Mail content:
+Hi All,
+This is a call for vote to release Apache SkyWalking GraalVM Distro version
${VERSION}.
+
+Release notes:
+
+ *
https://github.com/apache/skywalking-graalvm-distro/blob/v${VERSION}/changes/changes.md
+
+Release Candidate:
+
+ * ${SVN_DEV_DIR}
+ * sha512 checksums
+${SHA512_BLOCK}
+Release Tag :
+
+ * (Git Tag) v${VERSION}
+
+Release CommitID :
+
+ * https://github.com/apache/skywalking-graalvm-distro/tree/${COMMIT_ID}
+ * Git submodule
+ * skywalking: https://github.com/apache/skywalking/tree/${SKYWALKING_COMMIT}
+
+Keys to verify the Release Candidate :
+
+ * https://dist.apache.org/repos/dist/release/skywalking/KEYS
+ * Signed by ${GPG_EMAIL}
+
+Guide to build the release from source :
+
+ *
https://github.com/apache/skywalking-graalvm-distro/blob/v${VERSION}/docs/quick-start.md
+
+Voting will start now (${VOTE_DATE}) and will remain open for at least 72
hours, Request all PMC members to give their vote.
+[ ] +1 Release this package.
+[ ] +0 No opinion.
+[ ] -1 Do not release this package because...., if you have any doubt, ask me.
+MAILEOF
+
# ─── Summary ─────────────────────────────────────────────────────────────────
echo ""
log "Release ${VERSION} packaging and upload complete!"
@@ -272,5 +331,13 @@ for tarball in "${DIST_DIR}"/*.tar.gz; do
echo " shasum -a 512 -c ${f}.sha512"
done
echo ""
-echo "Next steps:"
-echo " 1. Send [VOTE] email to [email protected]"
+echo "========================================="
+echo " VOTE EMAIL"
+echo "========================================="
+cat "${MAIL_FILE}"
+echo "========================================="
+echo ""
+echo "Vote email saved to: ${MAIL_FILE}"
+echo ""
+echo "Next step:"
+echo " Send the above email to [email protected]"