From a97a40c7470a1d3c7bf840629b4077711263c563 Mon Sep 17 00:00:00 2001 From: Sean Busbey Date: Tue, 2 Mar 2021 18:22:08 -0600 Subject: [PATCH] HBASE-25580 Release scripts should include in the vote email the git hash that the RC tag points to (#2956) Signed-off-by: Duo Zhang --- dev-support/create-release/release-build.sh | 1 + dev-support/create-release/vote.tmpl | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/dev-support/create-release/release-build.sh b/dev-support/create-release/release-build.sh index cb13110877..e60e8f3ecb 100755 --- a/dev-support/create-release/release-build.sh +++ b/dev-support/create-release/release-build.sh @@ -192,6 +192,7 @@ fi cd "${PROJECT}" git checkout "$GIT_REF" git_hash="$(git rev-parse --short HEAD)" +GIT_LONG_HASH="$(git rev-parse HEAD)" log "Checked out ${PROJECT} at ${GIT_REF} commit $git_hash" if [ -z "${RELEASE_VERSION}" ]; then diff --git a/dev-support/create-release/vote.tmpl b/dev-support/create-release/vote.tmpl index 7810cd22d2..22b4d30650 100644 --- a/dev-support/create-release/vote.tmpl +++ b/dev-support/create-release/vote.tmpl @@ -10,6 +10,10 @@ The tag to be voted on is ${RELEASE_TAG}: https://github.com/apache/${PROJECT}/tree/${RELEASE_TAG} +This tag currently points to git reference + + ${GIT_LONG_HASH} + The release files, including signatures, digests, as well as CHANGES.md and RELEASENOTES.md included in this RC can be found at: -- 2.11.4.GIT