diff --git a/AGENTS.md b/AGENTS.md index 9269eb17..9fba9826 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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](), [#801](), 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. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 56331c6e..df25508e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -106,6 +106,10 @@ After `uvx zensical@ 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 diff --git a/RELEASING.md b/RELEASING.md index 814ca288..ba18c77e 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -117,7 +117,16 @@ npm stage approve # or: npm stage reject ### 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 --state merged`). +- Find them with `gh pr list --state merged --search "merged:>=" --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"`.