Commit 5386e4c 1 parent 1219496 commit 5386e4c Copy full SHA for 5386e4c
File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -5364,13 +5364,13 @@ func Test_DownloadFlyctl(t *testing.T) {
5364
5364
os : "darwin" ,
5365
5365
arch : arch64bit ,
5366
5366
version : version ,
5367
- url : "https://github.com/superfly/flyctl/releases/download/v0.0.388/flyctl_0.0.388_macOS_amd64 .tar.gz" ,
5367
+ url : "https://github.com/superfly/flyctl/releases/download/v0.0.388/flyctl_0.0.388_macOS_x86_64 .tar.gz" ,
5368
5368
},
5369
5369
{
5370
5370
os : "linux" ,
5371
5371
arch : arch64bit ,
5372
5372
version : version ,
5373
- url : "https://github.com/superfly/flyctl/releases/download/v0.0.388/flyctl_0.0.388_Linux_amd64 .tar.gz" ,
5373
+ url : "https://github.com/superfly/flyctl/releases/download/v0.0.388/flyctl_0.0.388_Linux_x86_64 .tar.gz" ,
5374
5374
},
5375
5375
{
5376
5376
os : "linux" ,
@@ -5382,7 +5382,7 @@ func Test_DownloadFlyctl(t *testing.T) {
5382
5382
os : "ming" ,
5383
5383
arch : arch64bit ,
5384
5384
version : version ,
5385
- url : "https://github.com/superfly/flyctl/releases/download/v0.0.388/flyctl_0.0.388_Windows_amd64 .zip" ,
5385
+ url : "https://github.com/superfly/flyctl/releases/download/v0.0.388/flyctl_0.0.388_Windows_x86_64 .zip" ,
5386
5386
},
5387
5387
}
5388
5388
Original file line number Diff line number Diff line change @@ -3017,9 +3017,7 @@ https://github.com/{{.Owner}}/{{.Repo}}/releases/download/{{.Version}}/{{.Name}}
3017
3017
{{$ext = ".zip"}}
3018
3018
{{- end -}}
3019
3019
3020
- {{- if eq .Arch "x86_64" -}}
3021
- {{$arch = "amd64"}}
3022
- {{- else if or (eq .Arch "aarch64") (eq .Arch "arm64") -}}
3020
+ {{- if eq .Arch "aarch64" -}}
3023
3021
{{$arch = "arm64"}}
3024
3022
{{- end -}}
3025
3023
You can’t perform that action at this time.
0 commit comments