From c11c7295f6f6ecc89ae342e2249618ed71452102 Mon Sep 17 00:00:00 2001 From: Boyd Kane <33420535+beyarkay@users.noreply.github.com> Date: Sat, 16 Jul 2022 13:56:14 +0200 Subject: [PATCH] Sort globbed files for releases This change simply sorts the list of files after the glob has been resolved. This is useful because these files are often destined for a release, and having to scroll through hundreds of files which aren't sorted is *painful*. I'm happy to convert this into an option that can be specified in the yaml if you'd prefer? --- releaser/releaser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releaser/releaser.py b/releaser/releaser.py index 6d73f90f..eb5a1813 100755 --- a/releaser/releaser.py +++ b/releaser/releaser.py @@ -70,7 +70,7 @@ def GetListOfArtifacts(argv, files): if len(flist) < 1: stdout.flush() raise (Exception("Empty list of files to upload/update!")) - return flist + return sorted(flist) def GetGitHubAPIHandler(token):