packages icon indicating copy to clipboard operation
packages copied to clipboard

Incorrect packages install for M1/ARM devices

Open slewis-bd opened this issue 1 year ago • 0 comments

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:

  1. Go to 'arm based system (Apple M1 in my case)'
  2. Run 'command to install gomplate'
  3. 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]

slewis-bd avatar Sep 21 '22 22:09 slewis-bd