[
https://issues.apache.org/jira/browse/HBASE-19152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16238004#comment-16238004
]
stack edited comment on HBASE-19152 at 11/3/17 5:07 PM:
--------------------------------------------------------
Pushed minor AMENDMENT making script generate hashes....
diff --git a/dev-support/make_rc.sh b/dev-support/make_rc.sh
index 83b5821ca1..19f906f282 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"
was (Author: stack):
Pushed minor AMENDMENT making script generate hashes....
> Update refguide 'how to build an RC' and the make_rc.sh script
> --------------------------------------------------------------
>
> Key: HBASE-19152
> URL: https://issues.apache.org/jira/browse/HBASE-19152
> Project: HBase
> Issue Type: Sub-task
> Components: build
> Reporter: stack
> Assignee: stack
> Fix For: 2.0.0-beta-1
>
> Attachments:
> 0001-HBASE-19152-Update-refguide-how-to-build-an-RC-and-t.patch,
> HBASE-19152.master.001.patch, HBASE-19152.master.002.patch,
> HBASE-19152.master.003.patch, HBASE-19152.master.004.patch,
> HBASE-19152.master.005.patch, HBASE-19152.master.006.patch,
> HBASE-19152.master.007.patch, HBASE-19152.master.008.patch
>
>
> Update the section on how to build an RC. In particular, note that tags
> should be signed and talk up the new way of building the src tgz (after a
> Sean suggestion) including removal of old means src.xml from hbase-assembly.
> Update the make_rc.sh script so it works for branch-2 builds.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)