mirror of
https://github.com/dlang/tools.git
synced 2025-04-27 13:40:22 +03:00
Sort changelog entry files by file name
This stabilizes the changelog order, preventing non-deterministic website builds, and also allows ordering the entries manually by naming the files according to the desired lexicographical order.
This commit is contained in:
parent
ed24fb4417
commit
3a40c23652
1 changed files with 1 additions and 0 deletions
|
@ -232,6 +232,7 @@ auto readTextChanges(string changelogDir)
|
|||
|
||||
return dirEntries(changelogDir, SpanMode.shallow)
|
||||
.filter!(a => a.name().endsWith(".dd"))
|
||||
.array.sort()
|
||||
.map!readChangelog
|
||||
.filter!(a => a.title.length > 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue