Commit fd98d34
Laurent Guerard
fix(release): 🐛 don't crash the changelog on an unresolved contributor
git-cliff's contributor template sorted github.contributors by
username unconditionally; a contributor whose commit email doesn't
resolve to a GitHub login gets username=null, and Tera's sort filter
errors out on a null value ("Filter call 'sort' failed"), which
crashed the v1.2.0 release job before the PyPI publish step could
even run. Drop the sort (cosmetic ordering only) and skip rendering
any contributor without a resolved username instead of crashing.1 parent c1cbf39 commit fd98d34
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments