Skip to content

Commit

Permalink
Revert "fix flyctl release name"
Browse files Browse the repository at this point in the history
This reverts commit 9cb7222.

Signed-off-by: Nitishkumar Singh <[email protected]>
  • Loading branch information
nitishkumar71 authored and alexellis committed Jul 19, 2024
1 parent 1219496 commit 21509c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-url-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
build:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
Expand Down
6 changes: 3 additions & 3 deletions pkg/get/get_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5364,13 +5364,13 @@ func Test_DownloadFlyctl(t *testing.T) {
os: "darwin",
arch: arch64bit,
version: version,
url: "https://github.com/superfly/flyctl/releases/download/v0.0.388/flyctl_0.0.388_macOS_amd64.tar.gz",
url: "https://github.com/superfly/flyctl/releases/download/v0.0.388/flyctl_0.0.388_macOS_x86_64.tar.gz",
},
{
os: "linux",
arch: arch64bit,
version: version,
url: "https://github.com/superfly/flyctl/releases/download/v0.0.388/flyctl_0.0.388_Linux_amd64.tar.gz",
url: "https://github.com/superfly/flyctl/releases/download/v0.0.388/flyctl_0.0.388_Linux_x86_64.tar.gz",
},
{
os: "linux",
Expand All @@ -5382,7 +5382,7 @@ func Test_DownloadFlyctl(t *testing.T) {
os: "ming",
arch: arch64bit,
version: version,
url: "https://github.com/superfly/flyctl/releases/download/v0.0.388/flyctl_0.0.388_Windows_amd64.zip",
url: "https://github.com/superfly/flyctl/releases/download/v0.0.388/flyctl_0.0.388_Windows_x86_64.zip",
},
}

Expand Down
4 changes: 1 addition & 3 deletions pkg/get/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -3017,9 +3017,7 @@ https://github.com/{{.Owner}}/{{.Repo}}/releases/download/{{.Version}}/{{.Name}}
{{$ext = ".zip"}}
{{- end -}}
{{- if eq .Arch "x86_64" -}}
{{$arch = "amd64"}}
{{- else if or (eq .Arch "aarch64") (eq .Arch "arm64") -}}
{{- if eq .Arch "aarch64" -}}
{{$arch = "arm64"}}
{{- end -}}
Expand Down

0 comments on commit 21509c3

Please sign in to comment.