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?
This commit is contained in:
Boyd Kane
2022-07-16 13:56:14 +02:00
committed by GitHub
parent 895a8764b3
commit c11c7295f6

View File

@@ -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):