From 39a7fc04fb5df1a6d78b84f51838530ab3eb76db Mon Sep 17 00:00:00 2001 From: decentral1se Date: Sun, 2 May 2021 22:14:15 +0200 Subject: [PATCH] Sort that JSON --- bin/app-json.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/app-json.py b/bin/app-json.py index 0f62e4f2..8fbb527c 100755 --- a/bin/app-json.py +++ b/bin/app-json.py @@ -284,7 +284,13 @@ def main(): target = f"{SCRIPT_PATH}/../deploy/apps.coopcloud.tech/apps.json" with open(target, "w", encoding="utf-8") as handle: - dump(generate_apps_json(repos_json), handle, ensure_ascii=False, indent=4) + dump( + generate_apps_json(repos_json), + handle, + ensure_ascii=False, + indent=4, + sort_keys=True, + ) log.info(f"Successfully generated {target}")