You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2021/03/03 00:23:35 UTC

[hbase] branch master updated: HBASE-25580 Release scripts should include in the vote email the git hash that the RC tag points to (#2956)

This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new a97a40c  HBASE-25580 Release scripts should include in the vote email the git hash that the RC tag points to (#2956)
a97a40c is described below

commit a97a40c7470a1d3c7bf840629b4077711263c563
Author: Sean Busbey <bu...@apache.org>
AuthorDate: Tue Mar 2 18:22:08 2021 -0600

    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 <zh...@apache.org>
---
 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 cb13110..e60e8f3 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 7810cd2..22b4d30 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: