Files
ai-passport/docs/development/project-completion/release-update.md
T
Shinku ddf1f774fd docs(development): rework follow-up into project completion flow
把原有的 after-release 三轨道收尾(归档 plays、提 issue、提经验 PR)
重构为「项目开发完成流程」project-completion:一组六项可选动作菜单,
支持单选/多选,用户确认后才执行。

- 新增 docs/development/project-completion.md(唯一权威总索引):
  触发时机、按交付/沉淀分组的六项动作、共享安全与同意门槛、
  共享发布属性(Publish Profile)、Mermaid 触发流程图。
- 新增 project-completion/ 下六个动作文档(各配中英双语):
  发布到社区市场、发布到 Git 并更新版本、发布经验、归档到 plays、
  更新根 README、提交 issue;正文引用现有 skill。
- 删除旧的 after-release.md 及其中文版。
- 将全仓库对 after-release 的引用更新为 project-completion
  (AGENTS、fork-guide、file-issues、CI-build-and-release、
  publish-to-community、INDEX、README、三个 skill 文件)。
- 动作 C(发布经验)的经验条目命名适配 main 现状:
  docs/experiences/<username>/ 按内容摘要命名。
- 发布到 Git 动作补充:Release 默认标题为版本号名,发布后由执行者
  完善为「项目功能名 + 版本号」,并在 CI-build-and-release 同步说明。
2026-08-28 10:13:37 +08:00

2.3 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.
  • 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.