Skip to content

Commit

Permalink
Merge 13d5f8a into sapling-pr-archive-ktf
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf authored Aug 21, 2024
2 parents 5630f34 + 13d5f8a commit 5af016d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions publish/aliPublishS3
Original file line number Diff line number Diff line change
Expand Up @@ -692,15 +692,15 @@ def sync(pub, architectures, s3Client, bucket, baseUrl, basePrefix, rules,
# get installed last.
def custom_sort_key(s):
for l in ["Suite", "QualityControl", "AliGenerator"]:
if l in s:
return (3, s)
if l in s["name"]:
return (3, s["name"])
for l in ["O2Physics", "AliPhysics"]:
if l in s:
return (2, s)
if l in s["name"]:
return (2, s["name"])
for l in ["O2", "AliRoot"]:
if l in s:
return (1, s)
return (0, s)
if l in s["name"]:
return (1, s["name"])
return (0, s["name"])
pubPackages = sorted(pubPackages, key=custom_sort_key)
pubPackages = pubPackages[:publishLimit]

Expand Down

0 comments on commit 5af016d

Please sign in to comment.