Files
ai-passport/docs/development/project-completion/release-update.md
T
Shinku 1658cc22db docs(project-completion): resolve conflicts and restore verification
Address review feedback:

- Make all six actions optional; README update (E) is the default companion
  of archiving (D), not a standalone requirement.
- Restore the post-release full-build hardware verification that the old
  after-release flow carried and was dropped in the rework.
- Align archive path with the plays convention (plays/<username>/<app-name>/).
- Align the three text-only rules: plays/README, plays-archive skill, and the
  archive-plays action now all record the cover by file name/format only.
- Build the merged full image with ./tools/validate.sh --firmware (not idf.py
  build); confirm commit/push/tag/release separately in action B.
- Rename the entry point from post-release follow-up to project completion in
  AGENTS, the indexes, and cross-references.
2026-08-28 16:58:44 +08:00

2.9 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

Each step is an external, authorizing mutation. Confirm each one with the developer separately — do not treat a single up-front confirmation as covering commit, push, tag, and release.

  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 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 project is bilingual) covering what is new, how to build, and how to use.
  6. Verify the released full build on hardware (see Post-release hardware verification).

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.