- Use `jq -s` to read the entire input (could be several arrays due to GitHub API
pagination) before running the filter just once.
- Deduplicate by `.author.login` in case a person with the same GitHub username has
commits under different names within a release.
- Use string interpolation to format each line.
`heads(tags())` was rather confusing in my repository because I have
a bunch of tags pushed to my fork that are tracked locally. Assuming
that `trunk()` is something like `main@origin` or whatnot, then using
`heads(tags() & ::trunk())` works quite a bit better.
Signed-off-by: Austin Seipp <aseipp@pobox.com>
- Now computes the latest tag automatically in the first suggested command.
- Now excludes dependabot.
I used the command to generate the list of contributors in the v0.28.0 release commit.