packages
packages copied to clipboard
Incorrect packages install for M1/ARM devices
Describe the Bug
The variable ARCH does not seem to be set based off the architecture of the system that is calling the command. This results in the incorrect package being installed when on an ARM system.
Expected Behavior
The proper architecture is detected and the correct package is installed.
Steps to Reproduce
Steps to reproduce the behavior:
- Go to 'arm based system (Apple M1 in my case)'
- Run 'command to install gomplate'
- Wrong package is downloaded
Screenshots
Not a screenshot, but the url that gomplate is downloading from is https://github.com/hairyhenderson/gomplate/releases/download/v3.10.0/gomplate_darwin-amd64-slim
but should be https://github.com/hairyhenderson/gomplate/releases/download/v3.10.0/gomplate_darwin-arm64
Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:
- OS: [MacOS]
- Version: [12.5]
- Arch: [M1]