docs(release): add release notes guidance
Add a "Release notes" section to the build-and-release doc: after a release is published, write notes covering what's new, how to build, and how to use, in English (and a Chinese version where the project is bilingual), and link them from the release, keeping them consistent with the changelog.
This commit is contained in:
1 parent
21edbad877
commit
7d3a1d1188
2 files changed
+40
No files matched your search
@@ -15,3 +15,28 @@ All Actions are pinned to full commit SHAs. The build job has `contents: read`;
|
||||
Open `https://ai-passport.folotoy.cn/tools/web-flasher/`, connect the USB JTAG/serial device, select the release's merged `FoloToy-AI-Passport-full.bin`, choose a baud rate such as 460800, and write it from `0x0`. The browser performs local writing and verification; it does not upload the firmware file.
|
||||
|
||||
For board and flashing details, see [the hardware development guide](../hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md).
|
||||
|
||||
## Release notes
|
||||
|
||||
A tag-triggered release succeeds only when the merged firmware and its release
|
||||
notes travel together. After the release is published, write release notes that
|
||||
explain the build to a user who may not have read the repository. Cover three
|
||||
things:
|
||||
|
||||
- **What's new**: the features, behaviors, or fixes this release adds or
|
||||
changes compared with the previous one. Keep it user-facing, not a commit log.
|
||||
- **How to build**: how to produce and verify the merged firmware
|
||||
(`./tools/validate.sh --firmware` or `idf.py build`), and the artifact file to
|
||||
flash (`FoloToy-AI-Passport-full.bin` flashed from `0x0`).
|
||||
- **How to use**: how to flash the build (the browser flasher above) and the key
|
||||
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.
|
||||
|
||||
## Related documents
|
||||
|
||||
- Firmware publishing to the community: [publish-to-community.md](publish-to-community.md)
|
||||
- Post-release follow-up: [after-release.md](after-release.md)
|
||||
|
||||
@@ -37,6 +37,21 @@
|
||||
|
||||
步骤:连接设备(USB JTAG/serial debug unit)→ 选择本 Release 的合并固件 `FoloToy-AI-Passport-full.bin` → 选择波特率(如 460800)→ 开始写入。目标是 8MB Flash 板卡,无需其它参数。
|
||||
|
||||
## Release 说明
|
||||
|
||||
tag 触发的 Release 只有在合并固件与它的 Release 说明一起发布时才完整。发布 Release 后,要写一份
|
||||
说明,向可能没读过仓库的用户解释这次构建。覆盖三块:
|
||||
|
||||
- **功能(What's new / 功能)**:本次 Release 相对上一版新增或变更的功能、行为或修复。面向用户,
|
||||
不是 commit 日志。
|
||||
- **方法(How to build / 方法)**:如何生成并校验合并固件(`./tools/validate.sh --firmware` 或
|
||||
`idf.py build`),以及要烧录的产物文件(从 `0x0` 烧录的 `FoloToy-AI-Passport-full.bin`)。
|
||||
- **使用(How to use / 使用)**:如何烧录(上方在线刷机工具),以及本次 Release 的关键交互或硬件
|
||||
要求。
|
||||
|
||||
用英文写 Release 说明(项目双语时再配一份简体中文),并在 GitHub/GitLab Release 上链接它们。对
|
||||
用户可见的行为,保持与 `docs/CHANGELOG.md` 一致。
|
||||
|
||||
## 相关文件
|
||||
|
||||
- `.github/workflows/build-firmware.yml`:本流水线定义。
|
||||
|
||||
Reference in new issue
Block a user