You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .roo/commands/release.md
+5-15Lines changed: 5 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,16 +36,9 @@ mode: code
36
36
- Do not manually edit `src/README.md`; the extension bundle step copies root `README.md` into `src/README.md`.
37
37
- Check for stale upstream Roo Code wording that should now say Zoo Code.
38
38
39
-
6. Create the release notes as a changeset file at `.changeset/v[version].md`, then run `pnpm changeset:version` on the release branch before opening the PR.
40
-
41
-
```md
42
-
---
43
-
"zoo-code": patch|minor|major
44
-
---
45
-
46
-
[list of changes]
47
-
```
39
+
6. Write the release notes directly into `CHANGELOG.md` on the release branch.
48
40
41
+
- Use the heading format `## [version]` (with square brackets) — e.g. `## [3.58.1]`. The publish workflow at `.github/workflows/marketplace-publish.yml` extracts release notes by matching this exact pattern; headings without brackets will be missed and the GitHub release will fall back to a generic message.
49
42
- Always include contributor attribution and the PR number: use `(PR #<prNumber> by @username)`.
50
43
- For PRs that close issues, include both issue and PR authors: `- Fix: Description (#123 by @reporter, PR #456 by @contributor)`.
51
44
- For PRs without linked issues, include the PR number and author: `- Add support for feature (PR #456 by @contributor)`.
@@ -67,13 +60,10 @@ mode: code
67
60
git checkout -b release/v[version]
68
61
```
69
62
70
-
9. Generate the final release state on that branch:
71
-
72
-
```bash
73
-
pnpm changeset:version
74
-
```
63
+
9. Bump the version in`src/package.json` to the target release version and ensure `CHANGELOG.md` and `src/CHANGELOG.md` are up to date.
75
64
76
-
- This should update `src/package.json`, `CHANGELOG.md`, and `src/CHANGELOG.md`, then consume the `.changeset` file.
65
+
- Verify the `CHANGELOG.md` heading uses `## [version]` (with brackets).
66
+
- Copy or sync `CHANGELOG.md` to `src/CHANGELOG.md`if the project keeps both.
77
67
- Review the generated version and changelog before opening the PR.
78
68
79
69
10. Open a single release PR with the fully generated release state.
0 commit comments