Skip to content

Commit

Permalink
Add release doc about update version in MODULE.bazel (#2711)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
oathdruid authored Jul 26, 2024
1 parent 7a89de7 commit 5ae6ad6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions community/release_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions community/release_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5ae6ad6

Please sign in to comment.