Commit 6e8a2f3 1 parent 3198618 commit 6e8a2f3 Copy full SHA for 6e8a2f3
File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ class HaxeNightlies {
9
9
static var ref_check = ~/ ^ [a-f0-9 ] {7,} $ / i ;
10
10
11
11
public static function resolve (ref : String ): String {
12
- if (ref_check .match (ref )) return getNightly (ref );
13
12
if (SemVer .isValid (ref )) return getNightly (ref , true );
13
+ if (ref_check .match (ref )) return getNightly (ref );
14
14
return ref ;
15
15
}
16
16
Original file line number Diff line number Diff line change @@ -51,9 +51,8 @@ class Utils {
51
51
public static function getReleaseUrl (v : String ): Array <String > {
52
52
return switch Sys .systemName () {
53
53
case " Linux" if (isArm64 ()):
54
- // TODO
55
- throw " Haxe releases don't include linux-arm64 binaries yet" ;
56
- // ['https://github.com/HaxeFoundation/haxe/releases/download/$v/', 'haxe-$v-linux-arm64.tar.gz'];
54
+ final nightly = HaxeNightlies .resolve (v );
55
+ [' https://build.haxe.org/builds/haxe/linux-arm64/' + Path .directory (nightly ), Path .withoutDirectory (nightly ) + ' .tar.gz' ];
57
56
case " Linux" :
58
57
[' https://github.com/HaxeFoundation/haxe/releases/download/ $v /' , ' haxe- $v -linux64.tar.gz' ];
59
58
case " Mac" :
You can’t perform that action at this time.
0 commit comments