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

leesf pushed a commit to branch release-0.5.1
in repository https://gitbox.apache.org/repos/asf/incubator-hudi.git


The following commit(s) were added to refs/heads/release-0.5.1 by this push:
     new bb58be1  [MINOR] Download KEYS file when validating release candidate 
(#1259)
bb58be1 is described below

commit bb58be1c56c6a98ae443557251fa0d023553f6d3
Author: Balaji Varadarajan <varad...@uber.com>
AuthorDate: Mon Jan 20 17:20:47 2020 -0800

    [MINOR] Download KEYS file when validating release candidate (#1259)
---
 scripts/release/validate_staged_release.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/release/validate_staged_release.sh 
b/scripts/release/validate_staged_release.sh
index 31eff95..429047b 100755
--- a/scripts/release/validate_staged_release.sh
+++ b/scripts/release/validate_staged_release.sh
@@ -84,6 +84,9 @@ echo "Checking Checksum of Source Release"
 diff -u hudi-${RELEASE_VERSION}-incubating-rc${RC_NUM}.src.tgz.sha512 
got.sha512 
 echo -e "\t\tChecksum Check of Source Release - [OK]\n"
 
+# Download KEYS file
+curl https://dist.apache.org/repos/dist/release/incubator/hudi/KEYS > ../KEYS
+
 # GPG Check
 echo "Checking Signature"
 (bash -c "gpg --import ../KEYS $REDIRECT" && bash -c "gpg --verify 
hudi-${RELEASE_VERSION}-incubating-rc${RC_NUM}.src.tgz.asc 
hudi-${RELEASE_VERSION}-incubating-rc${RC_NUM}.src.tgz $REDIRECT" && echo -e 
"\t\tSignature Check - [OK]\n") || (echo -e "\t\tSignature Check - [FAILED] - 
Run with --verbose to get details\n" && exit -1)

Reply via email to