This is an automated email from the ASF dual-hosted git repository. linkinstar pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-answer-website.git
commit e5b41f9038fc11df376d947a6e406644eb958961 Author: LinkinStars <[email protected]> AuthorDate: Thu Jul 4 15:34:20 2024 +0800 fix(translation): fix the translation in release docs --- community/contributing/how-to-release.md | 2 +- .../current/how-to-release.md | 70 +++++++++++----------- 2 files changed, 35 insertions(+), 37 deletions(-) diff --git a/community/contributing/how-to-release.md b/community/contributing/how-to-release.md index e8fa6577..8bcb3f6f 100644 --- a/community/contributing/how-to-release.md +++ b/community/contributing/how-to-release.md @@ -125,7 +125,7 @@ $ for i in *.tar.gz; do echo $i; sha512sum --check $i.sha512; done 4. If the dev vote passes, send email to the [email protected] to request a vote on the general list. The incubator vote needs at least **3 +1s from Incubator PMC members** (binding votes). 5. Wait for at **least 72 hours** or until the necessary number of votes are reached. -6. Announce the result of the vote on the dev list. +6. Announce the result of the vote on the general list. ### Vote email template diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md index 7093c3ad..b95a051e 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md @@ -4,28 +4,28 @@ slug: /how-to-release # 如何发布 -所有 Apache 项目都必须遵循 [Apache Release Policy](https://www.apache.org/legal/release-policy.html) 。这可以帮助你了解政策以及如何在 Apache 上发布项目。 +所有 Apache 项目都必须遵循 [Apache Release Policy](https://www.apache.org/legal/release-policy.html) 。本文可以帮助你了解政策以及如何在 Apache 上发布项目。 ## 发布过程 -1. 准备所有发布工件。 -2. 将发布工件上传到 svn 存储库。 -3. 证实发布工件。 +1. 准备所有发布物料。 +2. 将发布物料上传到 svn 存储库。 +3. 验证发布物料。 4. 对发布进行投票。 5. 宣布投票结果并发布。 -## 准备所有发布工件 +## 准备所有发布物料 -1. 在 git 存储库中创建 RC 标签,并编写发布说明。 -2. 建立发布工件(捆绑包、源档案等)。 -3. 在发布工件上签名。 -4. 为发布工件创建校验和。 +1. 在 git 存储库中创建带有 RC 的标签,并编写发布说明。 +2. 建立发布物料(二进制包、源码等)。 +3. 创建签名。 +4. 创建校验和。 -### 签署发布工件 +### 签署发布物料 1. 如果你没有 GPG 密钥,创建一个 GPG 密钥。 2. 将 GPG 密钥添加到 KEYS 文件中。 -3. 使用 GPG 密钥签署发布工件。**小心检查二进制文件是否完整,以避免大小为0。** +3. 使用 GPG 密钥签署发布物料。**仔细检查二进制文件是否完整,以避免大小为0。** ```shell # create a GPG key, after executing this command, select the first one RSA 和 RSA @@ -48,20 +48,20 @@ $ svn ci -m "add gpg key" $ for i in *.tar.gz; do echo $i; gpg --local-user xxxx --armor --output $i.asc --detach-sig $i ; done ``` -### 为发布的工件创建校验和 +### 为发布的物料创建校验和 ```shell # create the checksums $ for i in *.tar.gz; do echo $i; sha512sum $i > $i.sha512 ; done ``` -## 将发布工件上传到 svn 存储库 +## 将发布物料上传到 svn 存储库 -1. 在 svn 存储库中为发布工件创建一个目录。 -2. 将发布工件上传到 svn 存储库。 -3. 发布版本格式: 1.3.1-incubating +1. 在 svn 存储库中为发布物料创建一个目录。 +2. 将发布物料上传到 svn 存储库。 +3. 发布版本格式:1.3.1-incubating -发布工件应上传到`https://dist.apache.org/repos/dist/dev/incubator/answer/{release-version}`目录。 +发布物料应上传到 `https://dist.apache.org/repos/dist/dev/incubator/answer/{release-version}`目录。 ```shell @@ -71,14 +71,14 @@ $ svn add ./{release-version}/* $ svn commit -m "add Apache Answer release artifacts for {release-version}" ``` -**重要!**完成后,请访问链接`https://dist.apache.org/repos/dist/dev/incubator/answer/{release-version}`检查文件上传是否正确。 +**重要!**完成后,请访问链接 `https://dist.apache.org/repos/dist/dev/incubator/answer/{release-version}` 检查文件上传是否正确。  -## 验证发布工件 +## 验证发布物料 -以下是发布工件的基本检查项。 +以下是发布物料的基本检查项。 - [ ] 下载链接是有效的。 - [ ] 校验和与 PGP 签名是有效的。 @@ -119,25 +119,23 @@ $ for i in *.tar.gz; do echo $i; sha512sum --check $i.sha512; done ## 对发布进行投票 -1. 发送投票电子邮件至[email protected]。孵化器需要首先对他们的开发列表进行投票,该投票需要**Apache Answer PPMC成员至少3+1**。 -2. 等待**至少72小**或直到达到必要的票数。 -3. 在开发名单上宣布投票结果。 -4. 如果开发投票通过,请发送电子邮件至 [email protected] ,要求在总名单上投票。孵化器投票需要**项目管理委员会成员至少3+1**(具有约束力的投票)。 +1. 发送投票电子邮件至[email protected]。孵化器项目需要首先在 dev list 进行投票,该投票需要**Apache Answer PPMC members成员至少3个+1票**。 +2. 等待**至少72小时**直到达到必要的票数。 +3. 在 dev list 上宣布投票结果。 +4. 如果 dev 投票通过,请发送电子邮件至 [email protected] ,要求在 general 上投票。孵化器项目投票需要**Incubator PMC members 至少3个+1票**(具有约束力的投票)。 5. 等待**至少72小**或直到达到必要的票数。 -6. 在开发名单上宣布投票结果。 +6. 在 general list 上宣布投票结果。 ### 投票电子邮件模板 -**注意!**直接复制电子邮件内容将导致格式不正确。建议将电子邮件复制到`.txt` 文件。写完内容后,将其复制到您正在使用的电子邮件工具中。在开发的第一轮投票中,不需要 `The vote tread` 和 `Vote Result` 。 +**注意!**直接复制电子邮件内容将导致格式不正确。建议将电子邮件复制到 `.txt` 文件。写完内容后,将其复制到您正在使用的电子邮件工具中。在开发的第一轮投票中,不需要 `The vote tread` 和 `Vote Result` 。 -如何获取投票线程的链接: +如何获取投票的链接地址: 1. 从 Apache 邮件列表中找到你发送的电子邮件。 -2. 单击电子邮件下方的链接按钮以获取你需要的链接。 +2. 单击电子邮件下方的链接按钮以获取你需要的链接地址。  - - ```text [VOTE] Release Apache Answer (Incubating) {release-version} @@ -191,7 +189,7 @@ Thanks, <YOUR NAME> ``` -### 宣布电子邮件模板 +### 宣布投票结果的电子邮件模板 ```text Hello everyone, @@ -215,16 +213,16 @@ Thanks, <YOUR NAME> ``` -## 将发布工件迁移到发布Apache SVN +## 将发布物料迁移到 Apache SVN release -在宣布投票结果之前,你需要将发布工件从开发 Apache SVN 迁移到发布 Apache SVN 。发布工件应上传到`https://dist.apache.org/repos/dist/release/incubator/answer/{release-version}`目录。 +在宣布投票结果之前,你需要将发布物料从 Apache SVN dev 迁移到 Apache SVN release。发布物料应上传到 `https://dist.apache.org/repos/dist/release/incubator/answer/{release-version}` 目录。 ```shell $ svn mv https://dist.apache.org/repos/dist/dev/incubator/answer/{release-version} https://dist.apache.org/repos/dist/release/incubator/answer/{release-version} -m "transfer packages for answer {release-version}" ``` -## 笔记 +## 注意 ### RC 标签 -当你想发布新版本时,你需要先在git存储库中创建一个新的RC标签。标签名称应该是`v{release-version}-rc{rc-version}`。这具有避免删除标签的优势。 +当你想发布新版本时,你需要先在 git 存储库中创建一个新的 RC 标签。标签名称应该是`v{release-version}-rc{rc-version}`。 -例如,如果你想发布`1.2.0`版本,则需要创建一个名为`v1.2.0-RC1`的标签。RC的意思是释放候选人。发布投票通过后,你需要根据RC标签创建一个名为`v1.2.0-RC2`的新标签。但是,如果投票未通过,你可以解决问题,并创建一个新的RC标签,如`v1.2.0-RC2`,然后开始新的投票。 +例如,如果你想发布 `1.2.0` 版本,则需要创建一个名为 `v1.2.0-RC1` 的标签。RC 的意思是候选。发布投票通过后,你需要根据RC标签创建一个名为 `v1.2.0-RC2` 的新标签。但是,如果投票未通过,你可以解决问题,并创建一个新的RC标签,如 `v1.2.0-RC2`,然后开始新的投票。
