Skip to content

Commit

Permalink
Merge pull request #107 from dscho/rank-arm64-higher-than-i686
Browse files Browse the repository at this point in the history
release-git: rank ARM64 higher than 32-bit
  • Loading branch information
dscho authored Jan 9, 2025
2 parents 4be6390 + 8c06428 commit c47fca1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions github-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ const ranked = artifacts
const artifactName2Rank = (name) => {
let rank = ranked.indexOf(name
.replace(/-\d+(\.\d+)*(-rc\d+)?/, '')
.replace(/-(32|64)-bit/, '')
) + (name.indexOf('-64-bit') > 0 ? 0.5 : 0)
.replace(/-((32|64)-bit|arm64)/, '')
) + (name.indexOf('-64-bit') > 0 ? 0.5 : (name.indexOf('-arm64') > 0 ? 0.3 : 0))
return rank
}

Expand Down

0 comments on commit c47fca1

Please sign in to comment.