Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ Docs site: build and preview commands are in [CONTRIBUTING.md](CONTRIBUTING.md#d
## Docs and changelogs

- Docs describe the current state. History goes into changelogs, commits and pull requests.
- Add an `[Unreleased]` entry to the `CHANGELOG.md` of each package you change.
- Add an `[Unreleased]` entry to the `CHANGELOG.md` of each package you change. An entry from a
contributor's pull request ends with the pull request and the name, after any issue link:
`([#787](<issue link>), [#801](<pull request link>), thanks @login)`.
- Use Conventional Commits with the package as scope: `feat(core): ...`.
- Describe a change people see on the one page that owns its topic. Rewrite that page's
section instead of adding a paragraph beside the old one.
Expand Down
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ After `uvx zensical@<version> build --strict`, `node scripts/check-readme-links.
- Add an entry under `[Unreleased]` in the `CHANGELOG.md` of each package you changed. It is welcome,
not required: if it is missing, the maintainer adds it before the merge. This includes the entries
a deprecation or a break needs.
- Once your pull request is open, end your entry with it and your name, after any issue link:
`([#123](https://github.com/eizedev/pivotkit/pull/123), thanks @you)`. If you leave it out, the
maintainer adds it. Each release also thanks its contributors by name, including those whose change
has no entry.
- Use Conventional Commits with the package as scope: `feat(core): ...`, `fix(react): ...`.

## Pull request
Expand Down
11 changes: 10 additions & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,16 @@ npm stage approve <stage-id> # or: npm stage reject <stage-id>

### 5. GitHub release

- Publish a GitHub release for each tag, with a short text and a link to the CHANGELOG.
- Publish a GitHub release for each tag. Its text: a short summary, a link to the CHANGELOG, and a
section `## Contributors`.
- `## Contributors` thanks everyone whose pull request is in the release and who is neither a
maintainer (`.github/CODEOWNERS`) nor a bot, also for tests, CI and docs that the CHANGELOG leaves
out. One line per person: `@login: #n, #m. Thank you!`, or
`@login made their first contribution: #n, #m. Thank you!` when they had no merged pull request
here before (`gh pr list --author <login> --state merged`).
- Find them with `gh pr list --state merged --search "merged:>=<date of the round's previous tag>" --json number,author,files`.
A package's release names the pull requests that touch it. Pull requests that touch no package
(docs, CI, root tests) go into the round's last release, and the round's discussion names everyone.
- Start one discussion per release round, not one per tag: create the round's last GitHub release
with `--discussion-category "Announcements"`, for example
`gh release create pivotkit-mcp@x.y.z --verify-tag --notes-file notes.md --discussion-category "Announcements"`.
Expand Down
Loading