mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 11:06:56 +08:00
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:
@@ -70,7 +70,7 @@ def GetListOfArtifacts(argv, files):
|
|||||||
if len(flist) < 1:
|
if len(flist) < 1:
|
||||||
stdout.flush()
|
stdout.flush()
|
||||||
raise (Exception("Empty list of files to upload/update!"))
|
raise (Exception("Empty list of files to upload/update!"))
|
||||||
return flist
|
return sorted(flist)
|
||||||
|
|
||||||
|
|
||||||
def GetGitHubAPIHandler(token):
|
def GetGitHubAPIHandler(token):
|
||||||
|
|||||||
Reference in New Issue
Block a user