Skip to content

Commit

Permalink
fix bug for aarch64 packages
Browse files Browse the repository at this point in the history
  • Loading branch information
crhuber committed Feb 15, 2024
1 parent 281e8b7 commit edb9865
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/urfave/cli/v2"
)

var version = "1.12.4"
var version = "1.12.5"

func main() {

Expand Down
2 changes: 2 additions & 0 deletions pkg/types/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ func (a Asset) IsSameArchitecture() bool {
return true
} else if runtime.GOARCH == "arm64" && strings.Contains(strings.ToLower(a.BrowserDownloadURL), "arm64") {
return true
} else if runtime.GOARCH == "arm64" && strings.Contains(strings.ToLower(a.BrowserDownloadURL), "aarch64") {
return true
} else {
return false
}
Expand Down

0 comments on commit edb9865

Please sign in to comment.