docs: assign changelog ownership to release maintainers

This commit is contained in:
cjiio committed 2026-09-13 15:05:08 +08:00
1 parent f75873f1aa
commit 034ae58aa2
16 files changed
+89 -28

No files matched your search

+23 -2
View File
@@ -39,6 +39,26 @@ make sure the release title shows both.
is visible in both the tag list and the release list. Do not rely on a
human-readable body alone to carry the app name.
## Changelog preparation
Ordinary feature, application, and documentation pull requests leave the paired
changelog files unchanged. Before creating and pushing a release tag, the
release maintainer:
1. Identifies the previous release and reviews the pull requests merged since it,
together with the authoritative product and application documentation.
2. Collects user-visible features, fixes, compatibility changes, and release-flow
changes. Internal refactors, CI maintenance, typo fixes, and generated-file
refreshes are omitted.
3. Updates `docs/CHANGELOG.md` and `docs/CHANGELOG.zh_CN.md` together, places the
released entries under a `## <tag> - YYYY-MM-DD` heading, and leaves a fresh
`Unreleased` section before committing the release preparation.
Treat any existing `Unreleased` entries as pending input: verify them against the
merged changes and the target release instead of copying them blindly. This
release-preparation change is the owner of the shared changelog write and must be
part of the commit that is tagged.
## Release notes
A tag-triggered release succeeds only when the merged firmware and its release
@@ -55,8 +75,9 @@ things:
interactions or hardware requirements of the release.
Write the release notes in English (and a Simplified Chinese version where the
project is bilingual) and link them from the GitHub/GitLab release. Keep them
consistent with `docs/CHANGELOG.md` for user-visible behavior.
project is bilingual) and link them from the GitHub/GitLab release. Derive the
user-visible summary from the release-preparation changelog so the two remain
consistent.
## Related documents
@@ -52,6 +52,18 @@
- **标题与 tag 保持一致**:用 `<版本>-<应用名>`,让应用名在 tag 列表和 Release 列表里都可见。不要只靠
人类可读的正文承载应用名。
## 变更日志准备
普通功能、应用和文档 PR 不修改中英文变更日志。创建并推送发布 tag 前,发布负责人需要:
1. 确认上一版本,并检查此后已合并的 PR,以及对应的产品和应用权威文档。
2. 汇总用户可见功能、修复、兼容性变化和发布流程变化;忽略内部重构、CI 维护、拼写修复与生成文件刷新。
3. 同时更新 `docs/CHANGELOG.md` 和 `docs/CHANGELOG.zh_CN.md`,把本次发布条目放入
`## <tag> - YYYY-MM-DD` 标题下,保留一个新的 `Unreleased` 章节,再提交发布准备变更。
现有 `Unreleased` 条目只作为待核对输入:必须与实际合并内容及目标版本核对,不能直接照搬。该发布准备
变更是共享变更日志的唯一写入方,并且必须包含在 tag 所指向的 commit 中。
## Release 说明
tag 触发的 Release 只有在合并固件与它的 Release 说明一起发布时才完整。发布 Release 后,要写一份
@@ -64,8 +76,8 @@ tag 触发的 Release 只有在合并固件与它的 Release 说明一起发布
- **使用(How to use / 使用)**:如何烧录(上方在线刷机工具),以及本次 Release 的关键交互或硬件
要求。
用英文写 Release 说明(项目双语时再配一份简体中文),并在 GitHub/GitLab Release 上链接它们。对
用户可见的行为,保持与 `docs/CHANGELOG.md` 一致。
用英文写 Release 说明(项目双语时再配一份简体中文),并在 GitHub/GitLab Release 上链接它们。
用户可见摘要以发布准备阶段的变更日志为依据,确保两者一致。
## 相关文件
+10 -6
View File
@@ -196,16 +196,20 @@ commit, push, tag, and release.
### Steps
1. Commit the change and push it to the fork (`origin`) — confirm separately.
2. Create and push a tag to trigger the release workflow — confirm separately.
3. Let the tagged build produce the merged firmware `.bin`.
4. Create or update the GitHub/GitLab release with the artifact — confirm
1. When preparing a repository release, review the merged user-visible changes
since the previous release and update both changelog languages as described
in [Automated Build and Release](../ci/CI-build-and-release.md). Ordinary
feature, application, and documentation pull requests skip this step.
2. Commit the change and push it to the fork (`origin`) — confirm separately.
3. Create and push a tag to trigger the release workflow — confirm separately.
4. Let the tagged build produce the merged firmware `.bin`.
5. Create or update the GitHub/GitLab release with the artifact — confirm
separately. The workflow sets the default release title to the version/tag
name; after the release is up, refine it to the project feature name plus the
version number.
5. Write release notes in English (and a Simplified Chinese version where the
6. Write release notes in English (and a Simplified Chinese version where the
project is bilingual) covering what is new, how to build, and how to use.
6. Verify the released full build on hardware (see
7. Verify the released full build on hardware (see
[Post-release hardware verification](#post-release-hardware-verification)).
### Rules
Loaded 3 of 16 files, more files were not shown because too many files have changed in this diff. Show more