Skip to content

Commit c47fca1

Browse files
authored
Merge pull request #107 from dscho/rank-arm64-higher-than-i686
release-git: rank ARM64 higher than 32-bit
2 parents 4be6390 + 8c06428 commit c47fca1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

github-release.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ const ranked = artifacts
9292
const artifactName2Rank = (name) => {
9393
let rank = ranked.indexOf(name
9494
.replace(/-\d+(\.\d+)*(-rc\d+)?/, '')
95-
.replace(/-(32|64)-bit/, '')
96-
) + (name.indexOf('-64-bit') > 0 ? 0.5 : 0)
95+
.replace(/-((32|64)-bit|arm64)/, '')
96+
) + (name.indexOf('-64-bit') > 0 ? 0.5 : (name.indexOf('-arm64') > 0 ? 0.3 : 0))
9797
return rank
9898
}
9999

0 commit comments

Comments
 (0)