summaryrefslogtreecommitdiff
path: root/.claude
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-06-30 09:10:50 +0700
committerhathach <[email protected]>2026-06-30 09:10:50 +0700
commitce23b8d72e18398873d4e5deb8e38206218aea3d (patch)
tree028dfa0abed206f514a591eb6e3352c8151b0fc5 /.claude
parentc887bd907c6ca5d06c8db69039b2811079f7731c (diff)
Address Copilot review; move release process into the make-release skill
- README: restore the separate CH32V103 / CH583,CH582 rows in the Supported CPUs table — the merged row wrongly applied "ISO data loss [2]" to CH583/2 - Fix typos in historical changelog entries (santiy, Venndor, dynamnic, bagde, masstorage, techinical, walkaround, "Update Update") flagged by Copilot - Replace the AGENTS.md Release section with a pointer to the make-release skill; add a Finalize step (maintainer commit/tag/push + GitHub release) to the skill so nothing is lost Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to '.claude')
-rw-r--r--.claude/skills/make-release/SKILL.md14
1 files changed, 13 insertions, 1 deletions
diff --git a/.claude/skills/make-release/SKILL.md b/.claude/skills/make-release/SKILL.md
index 918031afc..8ef3f1443 100644
--- a/.claude/skills/make-release/SKILL.md
+++ b/.claude/skills/make-release/SKILL.md
@@ -5,7 +5,7 @@ description: Use when cutting a new TinyUSB release — bumping the version, run
# Cut a TinyUSB Release
-Mirrors CLAUDE.md "Release". **Do NOT commit or tag** — leave every change unstaged for maintainer review (they commit `Bump version to X.Y.Z`, then tag). Work in a worktree. Agree the target version `X.Y.Z` with the maintainer before starting (it is their call, not derivable from the diff).
+**Do NOT commit or tag** during prep — leave every change unstaged for maintainer review; the maintainer finalizes (commit, tag, release) in step 4. Work in a worktree. Agree the target version `X.Y.Z` with the maintainer before starting (it is their call, not derivable from the diff).
## 1. Bump version + regenerate files
@@ -67,3 +67,15 @@ git diff --stat -- ':!.idea' # review; `.idea/*`
```
Confirm version is consistent across `tusb_option.h` / `library.json` / `repository.yml` / `sonar-project.properties`, then leave everything unstaged for the maintainer.
+
+## 4. Finalize (maintainer)
+
+After reviewing the unstaged diff:
+
+```bash
+git commit -am "Bump version to X.Y.Z"
+git tag -a vX.Y.Z -m "Release X.Y.Z"
+git push origin <branch> vX.Y.Z
+```
+
+Then create a GitHub release from the `vX.Y.Z` tag.