This is an automated email from the ASF dual-hosted git repository.
heesung 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 7f5743008dd3 Update release-process.md
7f5743008dd3 is described below
commit 7f5743008dd3a60dd91ee2dab9ca3c743fc3015e
Author: Heesung Sohn <[email protected]>
AuthorDate: Wed Mar 20 11:43:34 2024 -0700
Update release-process.md
---
contribute/release-process.md | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/contribute/release-process.md b/contribute/release-process.md
index fe93c7495181..4780e77a664d 100644
--- a/contribute/release-process.md
+++ b/contribute/release-process.md
@@ -199,7 +199,7 @@ Finally, use instructions in [verifying release
candidates](validate-release-can
### Sign and stage the artifacts on SVN
-The src and bin artifacts need to be signed and uploaded to the dist SVN
repository for staging.
+The src and bin artifacts need to be signed and uploaded to the dist SVN
repository for staging. This step should not run inside the $PULSAR_PATH.
Before running the script, make sure that the `<yourname>@apache.org` code
signing key is the default gpg signing key.
@@ -217,6 +217,10 @@ default-key <key fingerprint>
RCVERSION=2.11.4-candidate-1
APACHEID=your_apache_id
+# make sure to run svn mkdir commmand in a different dir(NOT IN $PULSAR_PATH).
+mkdir ~/pulsar-svn-release-$RCVERSION
+cd ~/pulsar-svn-release-$RCVERSION
+
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
@@ -239,9 +243,14 @@ svn ci -m 'Staging artifacts and signature for Pulsar
release $RCVERSION'
Upload the artifacts to ASF Nexus:
```shell
+# Remove the new dirs or files in the $PULSAR_PATH from the previous steps.
cd $PULSAR_PATH
rm -rf apache-pulsar-2.X.0-src
+# Confirm if there are no other new dirs or files in the $PULSAR_PATH because
all files in $PULSAR_PATH will be compressed and uploaded to ASF Nexus.
+git status
+
+
export APACHE_USER=$USER
export APACHE_PASSWORD=$MY_PASSWORD
export GPG_TTY=$(tty)