chore(release): add release metadata guard - #7
Merged
Merged
Conversation
WardLu
commented
Aug 12, 2026
WardLu
left a comment
Owner
Author
There was a problem hiding this comment.
已完成 Release 防线代码审查,未发现阻断问题。
- Python 包与 npm 包版本保持一致;
- v* Tag 必须匹配当前版本;
- CHANGELOG 发布说明不能为空、不能是日期占位文案;
- npm、PyPI 发布前均先执行校验;
- 构建、pytest 和 release-check 均已通过。
审查结论:代码可以合并。由于当前 GitHub 账号是 PR 作者,GitHub 不允许自批准。
Owner
Author
|
合并记录:当前仓库没有其他合作者,无法获得第二个 GitHub 账号的批准 Review。Owner 已完成代码审查并确认无阻断问题;pytest 与 release-check 均通过。本次按仓库协作规范使用管理员兜底合并,不绕过失败检查。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
增加 Python/npm 双端版本、Tag 与 CHANGELOG 一致性校验,并接入 PR、main 与 Tag 工作流;发布前同时验证构建产物和包元数据。
验证:python3 scripts/validate_release.py;python3 -m unittest tests.test_release_metadata;公开仓库 Git gate。