From 3a40c23652075a8077d5fe54cbcb64d5600516f1 Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev Date: Sun, 18 Jun 2017 03:01:40 +0000 Subject: [PATCH] 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. --- changed.d | 1 + 1 file changed, 1 insertion(+) diff --git a/changed.d b/changed.d index 6fba10e87b..8577e9e170 100755 --- a/changed.d +++ b/changed.d @@ -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); }