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

xyz pushed a commit to branch BewareMyPower-patch-1
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git

commit 8e8e67761092befbf2a88a8a62a6a0f1a060960b
Author: Yunze Xu <xyzinfern...@163.com>
AuthorDate: Wed Apr 19 11:26:00 2023 +0800

    Update the process to upload the GPG key
    
    See the discussion here 
https://lists.apache.org/thread/f9w430oqpm0g72b1htwbtc8y3mfqf8r6
    
    In addition, download the `KEY` file before appending a KEY because `svn 
up` might not download the file.
---
 contribute/create-gpg-keys.md | 22 ++--------------------
 1 file changed, 2 insertions(+), 20 deletions(-)

diff --git a/contribute/create-gpg-keys.md b/contribute/create-gpg-keys.md
index 51b72582adb..68820f3b5d8 100644
--- a/contribute/create-gpg-keys.md
+++ b/contribute/create-gpg-keys.md
@@ -86,26 +86,7 @@ New **RSA** keys generated should be at least **4096** bits.
 
 ## Appending the key to KEYS files
 
-The GPG key needs to be appended to `KEYS` file that is stored in 2 SVN 
locations, one for proper releases and one for the release candidates.
-
-The credentials for SVN are the usual Apache account credentials.
-
-```shell
-# Checkout the SVN folder containing the KEYS file
-svn co https://dist.apache.org/repos/dist/dev/pulsar pulsar-dist-dev-keys 
--depth empty
-cd pulsar-dist-dev-keys
-svn up KEYS
-
-APACHEID=apacheid
-# Export the key in ascii format and append it to the file
-( gpg --list-sigs $apach...@apache.org
-  gpg --export --armor $apach...@apache.org ) >> KEYS
-
-# Commit to SVN
-svn ci -m "Added gpg key for $APACHEID"
-```
-
-Repeat the same operation for the release KEYS file:
+The GPG key needs to be appended to `KEYS` file for the release candidates.
 
 :::warning
 
@@ -118,6 +99,7 @@ You should ask a PMC member to complete this step.
 svn co https://dist.apache.org/repos/dist/release/pulsar 
pulsar-dist-release-keys --depth empty
 cd pulsar-dist-release-keys
 svn up KEYS
+curl -O -L https://dist.apache.org/repos/dist/release/pulsar/KEYS
 
 APACHEID=apacheid
 # Export the key in ascii format and append it to the file

Reply via email to