This is an automated email from the ASF dual-hosted git repository.
wwbmmm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brpc.git
The following commit(s) were added to refs/heads/master by this push:
new 5ae6ad62 Add release doc about update version in MODULE.bazel (#2711)
5ae6ad62 is described below
commit 5ae6ad62b174538a839ceef62644054da4f1960d
Author: Kevin Li <[email protected]>
AuthorDate: Fri Jul 26 10:28:05 2024 +0800
Add release doc about update version in MODULE.bazel (#2711)
* Update release_en.md
#### Update the `MODULE.bazel` file
* Update release_cn.md
#### 更新 `MODULE.bazel` 文件
* Update release_en.md
make MODULE.bazel version consist to other example
* Update release_cn.md
fix typo
* Update release_cn.md
fix md style
---
community/release_cn.md | 13 +++++++++++++
community/release_en.md | 13 +++++++++++++
2 files changed, 26 insertions(+)
diff --git a/community/release_cn.md b/community/release_cn.md
index ec108c50..c98cdf8f 100644
--- a/community/release_cn.md
+++ b/community/release_cn.md
@@ -199,6 +199,19 @@ set(BRPC_VERSION 1.0.0)
Version: 1.0.0
```
+#### 更新 `MODULE.bazel` 文件
+
+编辑项目根目录下 `MODULE.bazel` 文件,更新版本号,并提交至代码仓库,本文以 `1.0.0` 版本为例,修改 `version` 为:
+
+```
+# in MODULE.bazel
+module(
+ ...
+ version = '1.0.0',
+ ...
+)
+```
+
### 4. 创建发布 tag
```bash
export BRPCVERSION=1.0.0
diff --git a/community/release_en.md b/community/release_en.md
index c57d6958..6a05f2f4 100644
--- a/community/release_en.md
+++ b/community/release_en.md
@@ -198,6 +198,19 @@ Edit the `/package/rpm/brpc.spec` file in the project root
directory, update the
Version: 1.0.0
```
+#### Update the `MODULE.bazel` file
+
+Edit the `MODULE.bazel` file in the project root directory, update the version
number, and submit it to the code repository. For example:
+
+```
+# in MODULE.bazel
+module(
+ ...
+ version = '1.0.0',
+ ...
+)
+```
+
### 4. Create releasing tag
Pull the release branch to tag, for example:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]