SCRIPTS: add make-releases-json to recreate a releases.json file in download dirs

This will be used to rebuild a releases.json file in each download
directory. It only relies on existing files and sorts them by version,
appends known signatures (md5/sha256) and marks the most recent one as
the latest release.

This aims at addressing github issue #1537.

(cherry picked from commit f1c6ccfc6a010c3a7b3d88613cfc184e5dc3f882)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 1e6d82b47e6e9bf0c442c0fd4ab95addbe6050e4)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed