Releases
When a release is published, Clara comments on each pull request and issue it shipped, so the people waiting on a fix know it's out.
When a release is published, Clara tells the people waiting on it. She comments on each pull request and issue the release shipped:
This shipped in widgets@1.2.0.
The release’s name links to the release.
How she finds them
She reads the release’s notes:
- Commits. A changelog entry that starts with a commit, as Changesets writes them, leads to the pull request the commit came from, and to the issues its message closes with a keyword such as
Resolves #856. That’s how a fix committed straight to the default branch reaches its issue. - Pull requests. A link to one of the repository’s pull requests, as in GitHub’s generated notes, leads to the issues it closes.
A pull request gets a comment when it was merged and a person opened it. An issue gets one when it’s closed. Notes written by hand, with no commits or links, name nothing, so nothing is posted.
Good to know
- Two releases that ship the same pull request, such as two packages from one monorepo, each comment once.
- A prerelease is announced when it becomes a release.
- A release comments on at most 50 pull requests and issues.