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

lhotari pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 34109660a402 Update release-process.md
34109660a402 is described below

commit 34109660a4029de8913872c41322f6965ee5f82c
Author: Lari Hotari <[email protected]>
AuthorDate: Thu Mar 7 12:45:57 2024 +0200

    Update release-process.md
    
    Improve solution for staging artifacts without checking out existing files 
in the staging directory.
---
 contribute/release-process.md | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/contribute/release-process.md b/contribute/release-process.md
index 9b502d89b78b..07d7d52223b4 100644
--- a/contribute/release-process.md
+++ b/contribute/release-process.md
@@ -212,14 +212,15 @@ default-key <key fingerprint>
 ... where `<key fingerprint>` should be replaced with the private key 
fingerprint for the `<yourname>@apache.org` key. The key fingerprint can be 
found in `gpg -K` output.
 
 ```shell
-svn co https://dist.apache.org/repos/dist/dev/pulsar pulsar-dist-dev
-cd pulsar-dist-dev
-
 # '-candidate-1' needs to be incremented in case of multiple iteration in 
getting
 #    to the final release)
-svn mkdir pulsar-2.X.0-candidate-1
+RCVERSION=2.11.4-candidate-1
+APACHEID=your_apache_id
+
+svn mkdir --username $APACHEID -m "Add directory for pulsar $RCVERSION 
release" https://dist.apache.org/repos/dist/dev/pulsar/pulsar-$RCVERSION
+svn co https://dist.apache.org/repos/dist/dev/pulsar/pulsar-$RCVERSION
+cd pulsar-$RCVERSION
 
-cd pulsar-2.X.0-candidate-1
 $PULSAR_PATH/src/stage-release.sh .
 
 # Verify the artifacts are correctly signed have correct checksums:
@@ -230,7 +231,7 @@ $PULSAR_PATH/src/stage-release.sh .
 # If you build the artifacts without a clean workspace, the 
`apache-pulsar-2.X.0-src.tar.gz` files
 # may be too large to be unable to upload.
 svn add *
-svn ci -m 'Staging artifacts and signature for Pulsar release 2.X.0'
+svn ci -m 'Staging artifacts and signature for Pulsar release $RCVERSION'
 ```
 
 ### Stage Maven modules

Reply via email to