You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using go env GOARCH to detect system arch instead of uname (#373)
Issue #, if available:
N/A
Description of changes:
`uname` does not always match the friendly arch that operator-sdk, an example is that on a normal mac you get `x86_64` which fails to download since operator-sdk is released as `amd64`, there could be other examples as well.
Other things I thought of, since we might not want to rely on `go env` and be tied to go-tools:
- `uname -m | tr '[:upper:]' '[:lower:]' | sed 's/x86_64/amd64/g'`
- have this script take in arch as an arg
Let me know which approach would be best
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Signed-off-by: Adam D. Cornett <[email protected]>
0 commit comments