Release train: pad the same-day counter to two digits

GitHub's releases page sorts a day's tags as text, so v2026.10.15.9 showed
above v2026.10.15.18 (reported by rdbt on Discord). Tags now count .01, .02...
Every reader (release_train.tag_key, the launcher's compare_versions) compares
the parts as integers, so older unpadded tags still order correctly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-15 23:17:09 +02:00
parent d28521f765
commit 08c4805e10
3 changed files with 15 additions and 7 deletions
+2 -2
View File
@@ -143,7 +143,7 @@ runs the game: GitHub's runners have neither a GPU worth the name nor the game f
`tools/release_train.py notes` writes them from the same pull requests:
- the title, `Horizon 2026.10.15.1: <the first pull request titles>`, features first, newest first;
- the title, `Horizon 2026.10.15.01: <the first pull request titles>` (a day's later releases count .01, .02…, two digits so GitHub's releases page, which sorts them as text, keeps them in order), features first, newest first;
- `### New` (label `feature`) and `### Fixed` (the rest), one line per pull request: its title, its number, the
issues it closes;
- `### Known issues`: the bullets of [docs/known-issues.md](known-issues.md);
@@ -177,7 +177,7 @@ While paused, runs still decide and say why in their summary; `force=true` still
A bad release is withdrawn by turning it back into a draft:
```sh
gh release edit v2026.10.15.1 --draft
gh release edit v2026.10.15.01 --draft
```
Launchers list only published releases: the previous version becomes the newest one again, launchers that