Skip to content

Commit

Permalink
fix: linux arm64 to aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
gumieri committed Sep 10, 2024
1 parent daae382 commit 963ec75
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 23 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ jobs:
files: |
release/ecsctl-Linux-x86_64
release/ecsctl-Linux-i386
release/ecsctl-Linux-armv5l
release/ecsctl-Linux-armv6l
release/ecsctl-Linux-armv7l
release/ecsctl-Linux-armv8l
release/ecsctl-Linux-aarch64
release/ecsctl-Darwin-x86_64
release/ecsctl-Darwin-i386
release/ecsctl-Darwin-arm64
Expand Down
21 changes: 3 additions & 18 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,10 @@ build-linux-86:
GOOS=linux \
GOARCH=386 \
$(GOBUILD) -o release/ecsctl-Linux-i386
build-linux-arm5:
GOOS=linux \
GOARCH=arm \
GOARM=5 \
$(GOBUILD) -o release/ecsctl-Linux-armv5l
build-linux-arm6:
GOOS=linux \
GOARCH=arm \
GOARM=6 \
$(GOBUILD) -o release/ecsctl-Linux-armv6l
build-linux-arm7:
GOOS=linux \
GOARCH=arm \
GOARM=7 \
$(GOBUILD) -o release/ecsctl-Linux-armv7l
build-linux-arm8:
build-linux-aarch64:
GOOS=linux \
GOARCH=arm64 \
$(GOBUILD) -o release/ecsctl-Linux-armv8l
$(GOBUILD) -o release/ecsctl-Linux-aarch64
build-macos-64:
GOOS=darwin \
GOARCH=amd64 \
Expand All @@ -62,4 +47,4 @@ build-macos-arm64:
GOOS=darwin \
GOARCH=arm64 \
$(GOBUILD) -o release/ecsctl-Darwin-arm64
build-all: build-linux-64 build-linux-86 build-linux-arm5 build-linux-arm6 build-linux-arm7 build-linux-arm8 build-macos-64 build-macos-arm64
build-all: build-linux-64 build-linux-86 build-linux-aarch64 build-macos-64 build-macos-arm64
2 changes: 1 addition & 1 deletion cmd/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func uname() (uname string, err error) {
case "amd64":
m = "x86_64"
case "arm64":
m = "armv8l"
m = "aarch64"
case "arm":
err = errors.New("Unable to identify the ARM architecture")
return
Expand Down

0 comments on commit 963ec75

Please sign in to comment.