Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7DCF9200D34 for ; Fri, 3 Nov 2017 18:06:34 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7C369160BFB; Fri, 3 Nov 2017 17:06:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C266A160BDE for ; Fri, 3 Nov 2017 18:06:33 +0100 (CET) Received: (qmail 59559 invoked by uid 500); 3 Nov 2017 17:06:33 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 59550 invoked by uid 99); 3 Nov 2017 17:06:32 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Nov 2017 17:06:32 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D209CDFAB0; Fri, 3 Nov 2017 17:06:32 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: stack@apache.org To: commits@hbase.apache.org Message-Id: <5b23b57b13454e819ca24a24160bb67f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hbase git commit: HBASE-19152 Update refguide 'how to build an RC' and the make_rc.sh script; AMENDMENT adding generation of hashes Date: Fri, 3 Nov 2017 17:06:32 +0000 (UTC) archived-at: Fri, 03 Nov 2017 17:06:34 -0000 Repository: hbase Updated Branches: refs/heads/branch-2 9026d92f5 -> 9dc9d0394 HBASE-19152 Update refguide 'how to build an RC' and the make_rc.sh script; AMENDMENT adding generation of hashes Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/9dc9d039 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/9dc9d039 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/9dc9d039 Branch: refs/heads/branch-2 Commit: 9dc9d0394d57100b32e45788d29ade2e139b80f7 Parents: 9026d92 Author: Michael Stack Authored: Fri Nov 3 10:06:20 2017 -0700 Committer: Michael Stack Committed: Fri Nov 3 10:06:20 2017 -0700 ---------------------------------------------------------------------- dev-support/make_rc.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/9dc9d039/dev-support/make_rc.sh ---------------------------------------------------------------------- diff --git a/dev-support/make_rc.sh b/dev-support/make_rc.sh index 83b5821..19f906f 100755 --- a/dev-support/make_rc.sh +++ b/dev-support/make_rc.sh @@ -104,11 +104,13 @@ build_bin MAVEN_OPTS="${mvnopts}" ${mvn} deploy -DskipTests -Papache-release -Prelease \ -Dmaven.repo.local=${output_dir}/repository -echo "DONE" +# Do sha1 and md5 +cd ${output_dir} +for i in *.tar.gz; do echo $i; gpg --print-md SHA512 $i > $i.sha ; done +for i in *.tar.gz; do echo $i; gpg --print-md MD5 $i > $i.md5 ; done + echo "Check the content of ${output_dir}. If good, sign and push to dist.apache.org" echo " cd ${output_dir}" -echo ' for i in *.tar.gz; do echo $i; gpg --print-md SHA512 $i > $i.sha ; done' -echo ' for i in *.tar.gz; do echo $i; gpg --print-md MD5 $i > $i.md5 ; done' echo ' for i in *.tar.gz; do echo $i; gpg --armor --output $i.asc --detach-sig $i ; done' echo ' rsync -av ${output_dir}/*.gz ${output_dir}/*.md5 ${output_dir}/*.sha ${output_dir}/*.asc ${APACHE_HBASE_DIST_DEV_DIR}/${hbase_name}/' echo "Check the content deployed to maven. If good, close the repo and record links of temporary staging repo"