Files
ai-passport/docs/development/project-completion/release-update.md
T
Shinku f62dccc470 docs(project-completion): adopt text-only plays archive convention
将 PR #25 的 5 个增强并入 project-completion 的动作文档,保持新版约定一致:

- 动作 D(归档到 plays):改为纯文本归档。不再提交封面图,封面按文件名
  与格式记录在发布元数据里;档案 text-only。
- 动作 E(更新根 README):README 更新为必须(无论是否归档);明确宿主
  feature 分支 + fork main 两处各自处理;fork main 根 README 为项目目录,
  完整包含项目 README 内容;README 为 fork 独有内容,直接 merge 不另开 PR。
- 动作 B(发布到 Git):补编译偏好——日常用 idf.py build,发布/交付前
  需合并校验的 0x0 全镜像才用 validate.sh --firmware。
2026-08-28 10:32:14 +08:00

2.5 KiB

简体中文 · English

Action B: Publish to Git and Update the Release

This action publishes the firmware or code to a version-controlled repository and, when intended, updates the GitHub/GitLab release. It is one of the six optional closing actions listed in the project completion.

This is the Git publishing path, not the community path. Confirm the destination first; see publish-to-community.md for the community market.

Steps

  1. Commit the change and push it to the fork (origin).
  2. Create and push a tag to trigger the release workflow.
  3. Let the tagged build produce the merged firmware .bin.
  4. Create or update the GitHub/GitLab release with the artifact. 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 project is bilingual) covering what is new, how to build, and how to use.

Rules

  • Follow the repository commit and pull-request rules (commit-and-pr.md).
  • Follow the fork workflow (fork-guide.md).
  • A tag-triggered build runs build-firmware.yml, which publishes the release only for a tag. See CI-build-and-release.md.
  • For day-to-day compilation prefer idf.py build (fast, incremental); use ./tools/validate.sh --firmware only when the merged, byte-verified 0x0 full image is needed, such as before a release or delivery.
  • The workflow creates the release with a default title of the version/tag name (from softprops/action-gh-release and github.ref_name). After the release is published, refine the title to the project feature name plus the version number — for example Voice Keychain v1.2.0. The version is the tag, and the feature name is the application's publish name from the shared publish profile.
  • Release notes must explain the build to a user who has not read the repository: what is new, how to build, and how to use.