You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2020/02/22 09:13:23 UTC

[servicecomb-website] 02/02: [SCB-1778] add notes to delete temporary artifacts

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

ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-website.git

commit 75d0dbf3047a354150aac8c95f24a4f4d28a3f3d
Author: liubao <bi...@qq.com>
AuthorDate: Fri Feb 21 22:32:49 2020 +0800

    [SCB-1778] add notes to delete temporary artifacts
---
 _developers/cn/release_guide.md | 8 +++++---
 _developers/release_guide.md    | 9 ++++++---
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/_developers/cn/release_guide.md b/_developers/cn/release_guide.md
index d4ce9ee..d736725 100755
--- a/_developers/cn/release_guide.md
+++ b/_developers/cn/release_guide.md
@@ -161,7 +161,7 @@ mvn clean install -Pit
     mvn clean deploy -DskipTests -Prelease -Pdistribution -Ppassphrase
     ```
 
-6. 如果执行失败,需要解决问题。 并参考第7步关闭临时仓库,重新执行第5步。
+6. 如果执行失败,需要解决问题。 并参考第7步`drop`临时仓库,重新执行第5步。
 
 7. 如果步骤5命令执行成功,则所有的jar包都已经成功上传至maven临时仓库。  
    使用apache帐号登录到[Apache Nexus](https://repository.apache.org/),点击“Staging Repositories”,搜索“servicecomb”,根据时间找到最近的java-chassis相关的记录,close该条记录,得到maven临时仓库的链接,例如:`https://repository.apache.org/content/repositories/orgapacheservicecomb-1385`。
@@ -202,7 +202,8 @@ mvn clean install -Pit
 
 1. 发送投票邮件至 ***dev@servicecomb.apache.org***, 发起PMC批准.
 
-2. 等待72小时,或者获得3票+1并且没有-1。如果有-1票,修正问题,并删除主仓库的release版本对应的标签,重新开始版本发布流程。
+2. 等待72小时,或者获得3票+1并且没有-1。如果有-1票,修正问题,重新开始版本发布流程(视具体的失败情况,可能
+需要重新生成 release notes,删除svn临时文件,删除临时`Staging repositories`等)。
 
 3. 将投票结果发布到dev@servicecomb.apache.org。
 
@@ -224,7 +225,8 @@ mvn clean install -Pit
     svn ci .
     ```
 
-3. 使用apache帐号登录到[Apache Nexus](https://repository.apache.org/),点击“Staging Repositories”,搜索“servicecomb”,找到需要发布的java-chassis记录,点击“Release”。
+3. 使用apache帐号登录到[Apache Nexus](https://repository.apache.org/),点击“Staging Repositories”,搜索“servicecomb”,
+找到需要发布的java-chassis记录,点击“Release”。 如果由其他临时“Staging Repositories”,可以点击“Drop”一并删除。
 
 4. 等待24小时,让所有镜像同步。
 
diff --git a/_developers/release_guide.md b/_developers/release_guide.md
index 9de508c..c9f5194 100755
--- a/_developers/release_guide.md
+++ b/_developers/release_guide.md
@@ -184,7 +184,7 @@ Prepare Linux environment, and make sure can upload artifacts to maven central.
     mvn clean deploy -DskipTests -Prelease -Pdistribution -Ppassphrase
     ```
 
-6. If failed in step 5, close the temporary repository in apache Nexus and start from step 5 again.
+6. If failed in step 5, `drop` the temporary repository in apache Nexus and start from step 5 again.
 
 7. If step 5 is successful, all artifacts are uploaded to a temporary repository. Using your apache account and 
    log in to  [Apache Nexus](https://repository.apache.org/). Click  `Staging Repositories`, search `servicecomb`,
@@ -226,7 +226,9 @@ Prepare Linux environment, and make sure can upload artifacts to maven central.
 
 1. Send mail to `dev@servicecomb.apache.org` and waiting for voting result.
 
-2. Waiting 72 hours and if got three + 1 and no -1, the voting is successful. 
+2. Waiting 72 hours and if got three + 1 and no -1, the voting is successful. If there are some problems,
+start a new round of release. (According to the problem, please notice to clean up release notes,
+temporary svn files, and temporary stating repositories. )
 
 3. Send the voting result to `dev@servicecomb.apache.org`
 
@@ -249,7 +251,8 @@ Prepare Linux environment, and make sure can upload artifacts to maven central.
     ```
 
 3. Log in to [Apache Nexus](https://repository.apache.org/), find `Staging Repositories` and search 
-`servicecomb`,find the last `closed` repository, and click `release`. 
+`servicecomb`,find the last `closed` repository, and click `release`. If there are any temporary `Staging Repositories`,
+`drop` them. 
 
 4. Waiting for 24 hour for all mirror in sync.