()
| 58 | } |
| 59 | |
| 60 | function todayUtcIsoDate() { |
| 61 | // YYYY-MM-DD in UTC. Matches the CHANGELOG's existing convention |
| 62 | // (the existing dated entries don't disclose a timezone, but UTC is |
| 63 | // stable across runners and is what the workflow's runner produces |
| 64 | // by default anyway). |
| 65 | return new Date().toISOString().slice(0, 10); |
| 66 | } |
| 67 | |
| 68 | /** |
| 69 | * Split the CHANGELOG into a header preface + an ordered list of |