Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pil0tXia committed Apr 27, 2024
1 parent 7ce8529 commit 2f79b0d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions community/04-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ $ tar -czvf apache-eventmesh-${release_version}-source.tar.gz apache-eventmesh-$
> Package the binary release on the `${release_version}-prepare` branch.
> Note: The `dist` task depends on `generateDistLicense` and `generateDistNotice` tasks, which will automatically generate `LICENSE` and `NOTICE` files under the `tools/dist-licenses` directory. The `dist` task itself will copy the contents from the `tools/dist-licenses` directory to the `/dist` directory.
> Note: The `dist` task depends on `generateDistLicense` and `generateDistNotice` tasks, which will automatically generate `LICENSE` and `NOTICE` files under the `tools/dist-license` directory. The `dist` task itself will copy the contents from the `tools/dist-license` directory to the `/dist` directory.
```shell
$ ./gradlew clean dist && ./gradlew installPlugin
Expand Down Expand Up @@ -431,10 +431,10 @@ Extract `apache-eventmesh-${release_version}-source.tar.gz` and perform the foll
- Verify that the year in the `NOTICE` file is correct.
- Ensure that all text files begin with the ASF license (use `license-eye header check` command of the `skywalking-eyes` tool for verification).
- According to the [ASF 3RD PARTY LICENSE POLICY](https://apache.org/legal/resolved.html), check the licenses of third-party dependencies:
- Ensure third-party dependencies' licenses are compatible with Apache-2.0 (run the `checkDeniedLicense` task, focusing on the compatibility of newly added license files under the `tools/dist-licenses` directory).
- Ensure third-party dependencies' licenses are compatible with Apache-2.0 (run the `checkDeniedLicense` task, focusing on the compatibility of newly added license files under the `tools/dist-license` directory).
- Ensure all third-party dependencies' licenses are declared in the `LICENSE` file.
- Ensure the complete versions of dependency licenses are in the `license` directory (pay attention to the warning logs of the `generateDistLicense` task and supplement the license content of outdated artifacts).
- If the dependency is under the Apache license and there is a `NOTICE` file, include these `NOTICE` files in the version's `NOTICE` file.
- Ensure the complete versions of dependency licenses are in the `licenses` directory (pay attention to the warning logs of the `generateDistLicense` task and supplement the license content of outdated artifacts).
- If the dependency is under the Apache license and there is a `NOTICE` file, include these `NOTICE` files' content in EventMesh's `NOTICE` file.

## Initiates a vote

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ $ tar -czvf apache-eventmesh-${release_version}-source.tar.gz apache-eventmesh-$
>`${release_version}-prepare`分支上打包二进制发行版
> 注:`dist`任务所依赖的`generateDistLicense``generateDistNotice`任务将会自动生成`tools/dist-licenses`目录下的`LICENSE`, `NOTICE`文件和`licenses`目录。`dist`任务本身将会复制`tools/dist-licenses`目录下的内容到`/dist`目录下。
> 注:`dist`任务所依赖的`generateDistLicense``generateDistNotice`任务将会自动生成`tools/dist-license`目录下的`LICENSE`, `NOTICE`文件和`licenses`目录。`dist`任务本身将会复制`tools/dist-license`目录下的内容到`/dist`目录下。
```shell
$ ./gradlew clean dist && ./gradlew installPlugin
Expand Down Expand Up @@ -430,9 +430,9 @@ $ gpg --verify apache-eventmesh-${release_version}-bin.tar.gz.asc apache-eventme
- `NOTICE`文件中的年份正确
- 所有文本文件开头都有ASF许可证 (可以使用skywalking-eyes工具的`license-eye header check`命令检查)
- 根据[ASF第三方许可证政策](https://apache.org/legal/resolved.html),检查第三方依赖的许可证:
- 第三方依赖的许可证与Apache-2.0兼容 (运行`checkDeniedLicense `任务,关注`tools/dist-licenses`目录下新增的license文件的兼容性)
- 第三方依赖的许可证与Apache-2.0兼容 (运行`checkDeniedLicense `任务,关注`tools/dist-license`目录下新增的license文件的兼容性)
- 所有第三方依赖的许可证都在`LICENSE`文件中声名
- 依赖许可证的完整版全部在`license`目录 (关注`generateDistLicense`任务的日志警告,补充过时工件的license内容)
- 依赖许可证的完整版全部在`licenses`目录 (关注`generateDistLicense`任务的日志警告,补充过时工件的license内容)
- 如果依赖的是Apache许可证并且存在`NOTICE`文件,那么这些`NOTICE`文件也需要加入到版本的`NOTICE`文件中
## 发起投票
Expand Down

0 comments on commit 2f79b0d

Please sign in to comment.